客户端调试模式,在客户端打印连接信息

ssh -vvv xxx.xx.xx.xx

服务器端开启一个端口的调试模式,客户端通过ssh -p 2202去连接,在服务端打印信息。

/usr/sbin/sshd -p 2202 -d