SSH排错思路:

1、检查ifconfig的配置

2、检查ssh的rpm包

3、检查CRT连接虚拟机时候选择V2版本

4、检查selinux,是否setenforce 0

5、检查iptables

6、检查/etc/ssh/sshd/sshd_config;

  1、第66行 PasswordAuthentication yes 

  2、第70行 ChallengeResponseAuthentication no

  3、第81行 GSSAPIAuthentication yes

  4、第83行 GSSAPICleanupCredentials yes