1 安装完毕后 先关闭防火墙
/etc/init.d/iptables status/stop
2 open sshd
cd /etc/init.d
sshd stutas/start
3 ssh ip then exception log:
ssh_exchange_identification: Connection closed by remote host
so 解决办法:
Way1:
目标计算机变更,把用户主目录下的.ssh/删除就可以了
Way2:
修改/etc/hosts.allow文件,加入 sshd:ALL。
4 it is oK!!
虚拟机安装centos6.3 sh配置
猜你喜欢
转载自smalltalllong.iteye.com/blog/1669593
今日推荐
周排行