導航:首頁 > 版本升級 > centos升級openssh

centos升級openssh

發布時間:2024-01-14 07:06:03

① centos7 怎樣升級系統的openssl和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,configure後遇到個問題,configure: error: *** libpam missing,怎麼解決,急

centos 裡面可以用yum 自動升級。
1、先找一下:yum -qa libpam*
2、安裝:yum -y install openssh

閱讀全文

與centos升級openssh相關的資料

熱點內容
少兒編程導師是做什麼的 瀏覽:593
當前的網路安全防禦技術有哪些 瀏覽:655
win如何重置用戶配置文件 瀏覽:178
java獲取cpu編號 瀏覽:960
qt文件指針移動 瀏覽:655
蘋果4s耳機插孔失靈 瀏覽:923
qq漫遊記錄在手機哪個文件夾 瀏覽:58
設置hdd密碼 瀏覽:624
iphone4s升級ios9失敗怎麼辦 瀏覽:6
ro裝備有洞升級後 瀏覽:958
不綁定銀行卡微信轉賬 瀏覽:827
編程和網站有什麼區別 瀏覽:443
java兩個集合取交集 瀏覽:442
js替換當前頁面字元串 瀏覽:50
ps6路徑選擇工具 瀏覽:955
視頻文件損壞返回不了 瀏覽:656
如何判斷網路被降速了 瀏覽:676
ps做成圖片後怎麼弄成文件 瀏覽:689
左側導航欄css代碼 瀏覽:952
釘釘傳送文件最大多少兆 瀏覽:126

友情鏈接