Many Linux users have recently failed to use OpenSSH, the solution is very simple, that is, install OpenSSH new version of Linux. So how does the Linux system upgrade OpenSSH?
650) this.width=650; How to upgrade OpenSSH under "alt=" Linux system? "Src=" http://www.xitongzhijia.net/uploads/allimg/150827/64-150RG44946153.jpg "style=" Font-family:inherit; font-style:inherit;font-weight:inherit;vertical-align:middle;border:0px;margin:0px Auto;width:500px;height : 271px; "/>
Note: Do not restart the SSHD service during the upgrade process, otherwise it will not connect remotely!!
The upgrade version is: OPENSSH-6.6P1
Upgrade Method:
1. Load local source (method not described)
2. Execute the following command
Yum Install Bash-y
Yum install-y zlib zlib-devel OpenSSL openssl-devel
TAR-ZXVF openssh-6.6p1.tar.gz-c/usr/local/src/
cd/usr/local/src/openssh-6.6p1/
Cp/etc/init.d/sshd/etc/init.d/sshd.old
TAR-CVF Ssh.bak.tar/etc/ssh
Yum Install Gcc-y
3. Uninstall the old version
Rpm-qa|grep SSH
Rpm-e openssh-server-5.3p1-81.el6.x86_64
RPM-E openssh-clients-5.3p1-81.el6.x86_64--nodeps
Rpm-qa|grep SSH
Rpm-e openssh-askpass-5.3p1-81.el6.x86_64
Rpm-e openssh-5.3p1-81.el6.x86_64
Rpm-qa|grep SSH
4. Start the upgrade
。 /configure--prefix=/usr--sysconfdir=/etc/ssh--with-zlib--with-md5-passwords
Make && make install
Mv/etc/init.d/sshd.old/etc/init.d/sshd
Mkdir-p/var/empty/sshd/etc
/etc/init.d/sshd restart
Chkconfig--add sshd
Chkconfig sshd on
Chkconfig--list|grep sshd
5. See if the upgrade was successful
Ssh-v
OPENSSH_6.6P1, OpenSSL 1.0.0-fips 2010
The above is the Linux system how to upgrade the introduction of OpenSSH, the upgrade succeeded in the old version of some problems and failures will naturally be repaired.
Linux Upgrade OpenSSH