无法初始化sftp协议.主机是sftp服务器吗
1个回答
推荐于2016-06-15
展开全部
rpmbuild -D no_gtk2=1 -D skip_gnome_askpass=1 --rebuild openssh-5.5p1-24.fc14.2.src.rpm
# 再用rpm命令卸载旧版本
rpm -e openssh openssh-server openssh-clients
rm -rf /etc/ssh/
# 安装自己编译的版本
rpm -ivh /root/rpmbuild/RPMS/x86_64/openssh-5.5p1-24.el6.2.x86_64.rpm /root/rpmbuild/RPMS/x86_64/openssh-clients-5.5p1-24.el6.2.x86_64.rpm /root/rpmbuild/RPMS/x86_64/openssh-server-5.5p1-24.el6.2.x86_64.rpm /root/rpmbuild/RPMS/x86_64/openssh-ldap-5.5p1-24.el6.2.x86_64.rpm /root/rpmbuild/RPMS/x86_64/pam_ssh_agent_auth-0.9.2-26.24.el6.2.x86_64.rpm
# 重启sshd
service sshd restart
# 再用rpm命令卸载旧版本
rpm -e openssh openssh-server openssh-clients
rm -rf /etc/ssh/
# 安装自己编译的版本
rpm -ivh /root/rpmbuild/RPMS/x86_64/openssh-5.5p1-24.el6.2.x86_64.rpm /root/rpmbuild/RPMS/x86_64/openssh-clients-5.5p1-24.el6.2.x86_64.rpm /root/rpmbuild/RPMS/x86_64/openssh-server-5.5p1-24.el6.2.x86_64.rpm /root/rpmbuild/RPMS/x86_64/openssh-ldap-5.5p1-24.el6.2.x86_64.rpm /root/rpmbuild/RPMS/x86_64/pam_ssh_agent_auth-0.9.2-26.24.el6.2.x86_64.rpm
# 重启sshd
service sshd restart
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询