username = 'ユーザ名'
;秘密鍵ファイルのパス
keyfile = '"C:\Users\〇〇\〇〇.pem"'
;接続先ホスト
hostname = 'ホストネーム'
;パスワード
pass = ''
;接続コマンドの生成
msg = hostname
strconcat msg ':22 /ssh2 /auth=publickey /user='
strconcat msg username
strconcat msg ' /keyfile='
strconcat msg keyfile
;接続
connect msg
More than 5 years have passed since last update.
【備忘録】簡単にAWSサーバにログインするためにTeratermマクロを作成する。
Last updated at Posted at 2018-08-06
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme