Can't login if motd from server after username
This bug is (also) in TeraTerm version 4.106 (SVN#9298)
To reproduce this:
ON THE SSH SERVER (running OpenSSH 7.4+) In the file /etc/ssh/sshd_config change the following line:
Banner none
To:
Banner /etc/motd
Restart SSHd or reboot the server.
Note: The Banner line in /etc/ssh/sshd_config is sometimes commented out. Remove the # from the beginning and change the "none" to "/etc/motd".
In TeraTerm: Attempt to connect to the server. Behavior will be as described in original post.
To revert: ON THE SSH SERVER: In /etc/ssh/sshd_config
Change:
Banner /etc/motd
To:
Banner none
Restart SSHd or reboot the server.
SSH 認証時に SSH_MSG_USERAUTH_BANNER を受信したときの動作
以下の条件が重なったときに再現します。
4-stable でも trunk でも再現しました。
Thank you for your reporting.
Change CheckAuthListFirst to 0 (disable "Check the enabled authentication methods before login") will be a workaround.
要素 | スコア |
SSH接続できない | +3 |
workaroundがある | -1 |
当たってる人が少なそう | -1 |
Tera Term will not leave the SSH Authentication window if the device connected to sends text after the username is entered such as the system MOTD. I've tried switching it to other authentication types but this doesn't help. Clicking ok on the window does nothing. If you click disconnect you can see the MOTD for a brief period just before the window closes.