You are on page 1of 1

ECHO off

CLS
:MENU
ECHO.
ECHO ........................
ECHO SSH servers
ECHO ........................
ECHO.
ECHO 1 - Web Server 1
ECHO 2 - Web Server 2
ECHO E - EXIT
ECHO.

SET /P M=Type 1 then press ENTER:


IF %M%==1 GOTO WEB1
IF %M%==2 GOTO WEB1
IF %M%==E GOTO :EOF
IF %M%==e GOTO :EOF

REM ------------------------------
REM SSH Server details
REM ------------------------------

:WEB1
CLS
call ssh pi@192.168.0.108
cmd /k
goto :EOF

:WEB2
CLS
call ssh username@xx.xx.xx.xx
cmd /k
goto :EOF

You might also like