
ローカルWindowsでSSH経由でUbuntu 20.04に接続しようとしています。ローカルWindowsでPuttyを使用してSSHを実行すると、接続できません。 Ubuntu端末で「service ssh status」コマンドを確認すると、次のメッセージが表示されます。
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-07-31 09:40:04 KST; 1h 21min ago
Docs: man:sshd(8)
man:sshd_config(5)
Process: 8479 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 8482 (sshd)
Tasks: 1 (limit: 38346)
Memory: 1.0M
CGroup: /system.slice/ssh.service
└─8482 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
Starting OpenBSD Secure Shell server...
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
Started OpenBSD Secure Shell server.
sshd[8487]: error: kex_exchange_identification: client sent invalid protocol identifier ""
shd[8487]: error: send_error: write: Broken pipe
助けてくれてありがとう!