0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

TeraTermで起動と同時に自動ログイン(またはパスワード入力待ちの状態で起動)

Posted at

やり方(起動と同時に自動ログイン)

TeraTermには接続先情報を覚えておくような機能は無い。

そのかわり、引数ありの『ttermpro.exe』へのショートカットで自動ログインができる。

image.png

ショートカットのリンク先
"C:\Program Files (x86)\teraterm\ttermpro.exe" 接続先IPアドレス /auth=password /user=ユーザー名 /passwd=パスワード

やり方(パスワード入力待ち状態での起動)

自動ログインの方法だと、ショートカットのリンク先でパスワードが平文で見れてしまう。
それだと都合悪い時もある。

そういった時向けに『接続先IPアドレス』と『ユーザー名』までセットされた状態での起動もできる。

ショートカットのリンク先
"C:\Program Files (x86)\teraterm\ttermpro.exe" 接続先IPアドレス /user=ユーザー名

↓ こんな状態で起動。
image.png

/passwd だけでなく /auth も外す必要があるので注意。
/authを外さないと接続失敗でTeraTerm自体が起動しない。

参考サイトさん

バージョン

Windows 10 Pro 21H2 OSビルド 19045.2311
TeraTerm 4.106

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?