Xshell 报错 :
1.有可能是IP和别人冲突,改一下IP就好了
2.也有可能是文件权限的问题。改一下:
cd /etc/ssh/
chmod 600 ssh_host_*
chmod 644 *.pub
3.也有可能是防火墙的问题
/etc/init.d/iptables status //先看一下防火墙状态
chkconfig iptables off //关闭的命令
Xshell 报错 :
1.有可能是IP和别人冲突,改一下IP就好了
2.也有可能是文件权限的问题。改一下:
cd /etc/ssh/
chmod 600 ssh_host_*
chmod 644 *.pub
3.也有可能是防火墙的问题
/etc/init.d/iptables status //先看一下防火墙状态
chkconfig iptables off //关闭的命令