Created
March 6, 2017 03:55
-
-
Save yoshikaw/25a8073f1c6aa01ec2c5d38577fb2574 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
@REM $Id$ | |
SETLOCAL | |
IF "%1" == "" EXIT | |
SET TT_HOME=C:\Program Files (x86)\teraterm | |
SET TT_OPTS=/KR=UTF8 /KT=UTF8 /DS | |
SET USERHOST=%1 | |
SHIFT | |
:LOOP | |
IF "%~1" == "-p" SET PORT=%2 | |
IF "%~1" == "-i" SET KEYFILE=%2 | |
SHIFT | |
IF NOT "%~1" == "" GOTO LOOP | |
START "" "%TT_HOME%\ttermpro.exe" -proxy=none:// %USERHOST%:%PORT% /ssh2 /auth=publickey /keyfile=%keyfile% %TT_OPTS% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment