看板 Linux 關於我們 聯絡資訊
我剛剛試著使用 Windows 提供的 WSL (Windows Subsystem for Linux) 進行 ssh 連線到 ptt 連線方法為 ssh [email protected] 得到「 Connection closed by 140.112.172.2 port 22 同台電腦,不透過WSL,直接在 powershell 中使用 ssh 卻可以成功登入。 不了解為什麼會有此差異,請教一下大家,謝謝。 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.169.18.126 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1633873765.A.F02.html
roccqqck: 最近用手機termius也是連不上 10/10 22:10
holishing: 講一下你 WSL 的 Ubuntu 版本,可以的話最好也把你的 10/11 01:20
20.04.3 LTS
holishing: openssh-client 版本印出來讓我們看 10/11 01:20
holishing: apt list -a openssh-client 10/11 01:22
alan23273850: 看 verbose message 吧 10/11 01:53
openssh-client/focal-updates,now 1:8.2p1-4ubuntu0.3 amd64 openssh-client/focal-security 1:8.2p1-4ubuntu0.2 amd64 openssh-client/focal 1:8.2p1-4 amd64
holishing: ssh -vvv [email protected] 這樣 10/11 11:21
https://pastebin.com/qfpJtkNM
roccqqck: http://i.imgur.com/vLB99H0.jpg 10/11 11:45
holishing: 我測也遇到EOF, 然後自己架的pttbbs則是可以用 10/11 13:17
holishing: 我猜 termius 應該是踩到 ptt 新版 sshd 的 bug 10/11 13:17
holishing: 但那個還沒開源無從證明 10/11 13:18
holishing: https://i.imgur.com/JYDnWLJ.jpg 10/11 13:21
holishing: 我也很好奇 Termius 的 Detect Shell Type Script 做了 10/11 13:21
holishing: 什麼事情就是了 10/11 13:21
※ 編輯: gt299792 (1.169.18.126 臺灣), 10/11/2021 23:53:25 ※ 編輯: gt299792 (1.169.18.126 臺灣), 10/11/2021 23:59:23
skycat2216: TermUX的openssh/stable,now 8.6p1 aarch64 測試正常 10/12 07:49