ftp 工具连linux 报错 Connection closed by foreign host

 

解决方法:

解决方法:

#cd /etc/ssh

#chmod 600 sshd_config ssh_host_dsa_key ssh_host_key ssh_host_rsa_key
#chmod 620 moduli
#chmod 644 ssh_config ssh_host_dsa_key.pub ssh_host_key.pub ssh_host_rsa_key.pub
#service sshd start

 

参考网址:

http://blog.csdn.net/janeqi1987/article/details/46791005

http://www.linuxidc.com/Linux/2013-07/87950.htm

猜你喜欢

转载自feiteyizu.iteye.com/blog/2292218