Red Hat Enterprise Linux 5.4 下的ssh和sftp无法使用的解决方法之一
最近遇到一个问题,不知道谁把/etc/ssh/sshd_config文件给清空了。同时也出现了一个问题现象就是该机可以通过ssh登录上去,但是无法通过该机ssh到其他机器上,同时通过sftp也无法连接到该机器了。
1. 通过该机ssh到其他机器,提示参数不正确。“/etc/ssh/ssh_config: line 44: Bad configuration option: GSSAPIAuthentication” …
通过和其他机器对比,发现该出配置是没有问题的。
解决方法:rpm -ivh openssh-clients-4.3p2-29.el5.x86_[……]