登录SSH报错:
Local ident: 'SSH-2.0-ssh2js1.16.0'
Client: Trying 172.72.1.200 on port 22 ...
Timed out while waiting for handshake
但是通过Windows自带的ssh能够正常连接:
ssh ubuntu@172.27.1.200
ubuntu@172.27.1.200's password:
Welcome to Ubuntu 24.04.2 LTS (GNU/Linux 6.8.0-63-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, you can run the 'unminimize' command.
Last login: Mon Jul 7 09:37:24 2025 from 172.27.1.100
通过XShell也能正常连接:
Xshell 8 (Build 0066)
Copyright (c) 2024 NetSarang Computer, Inc. All rights reserved.
Type `help' to learn how to use Xshell prompt.
[C:\~]$
Connecting to 172.27.1.200:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Welcome to Ubuntu 24.04.2 LTS (GNU/Linux 6.8.0-63-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, you can run the 'unminimize' command.
Last login: Mon Jul 7 10:01:27 2025 from 172.27.1.100
如何进一步排查问题?