歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> RedhatLinux升級SSH筆記

RedhatLinux升級SSH筆記

日期:2017/3/6 15:44:24   编辑:關於Unix
打開 http://www.openssh.org/zh-cn/index.html 找到下載頁面 http://www.openssh.org/portable.html#http 例如 http://gulus.usherbrooke.ca/pub/appl/ssh/OpenSSH/portable/ cd /usr/local/src wget http://gulus.usherbrooke.ca/pub/ ... penssh-3.9p1.ta 打開http://www.openssh.org/zh-cn/index.html
找到下載頁面 http://www.openssh.org/portable.html#http
例如 http://gulus.usherbrooke.ca/pub/appl/ssh/OpenSSH/portable/

cd /usr/local/src
wget http://gulus.usherbrooke.ca/pub/ ... penssh-3.9p1.tar.gz
tar xvzf openssh-3.9p1.tar.gz
cd openssh-3.9p1
./configure --prefix=/usr --with-pam --with-md5-passwords --sysconfdir=/etc/ssh
make
make install

正常情況已經升級完了,service sshd restart正常
ssh -V 已經顯示新的版本
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003

by Crossday@Discuz! Board Official

Copyright © Linux教程網 All Rights Reserved