導航:首頁 > 操作系統 > linux升級openssh

linux升級openssh

發布時間:2025-09-23 01:14:35

Ⅰ Linux系統下怎麼升級OpenSSH

升級版本為:openssh-6.6p1 舉個例子,可以參考
升級方法:
1、載入本地源(方法不描述了)
2、執行下列命令
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、卸載老版本
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、開始升級
。/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、查看是否升級成功
ssh -V
OpenSSH_6.6p1, OpenSSL 1.0.0-fips 29 Mar 2010
以上就是Linux系統下怎麼升級OpenSSH的介紹了,升級成功了舊版本的一些問題和故障自然就能得到修復了。

閱讀全文

與linux升級openssh相關的資料

熱點內容
java多線程的調度 瀏覽:757
初中經典題目演算法 瀏覽:631
根號的數學演算法 瀏覽:303
一個電腦多個用戶文件加密 瀏覽:248
java調用c指針 瀏覽:848
桌面APP怎麼轉移 瀏覽:836
易語言的源碼有密碼打不開怎麼解 瀏覽:811
c演算法第一卷 瀏覽:982
為什麼有的軟體直接解壓就能用 瀏覽:153
加密音卡 瀏覽:504
玩客雲做個人伺服器 瀏覽:891
10年後程序員就是白菜價工作 瀏覽:97
百度閱讀oom文件夾 瀏覽:662
PHP怎麼設置字體 瀏覽:392
第一人稱命令式講解視頻 瀏覽:927
java字元串switch 瀏覽:446
華為音樂app留言怎麼留小尾巴 瀏覽:747
lda演算法應用 瀏覽:163
python命令行如何運行 瀏覽:643
潘多拉pdf下載 瀏覽:9