[研究] sshd 與 ssh 安裝 (CentOS 6.5 x64)
2014-01-03
以前 sshd 安裝使用下面方法
[root@localhost ~]# yum -y install sshd
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.tc.edu.tw
* extras: ftp.tc.edu.tw
* updates: ftp.tc.edu.tw
Setting up Install Process
No package sshd available.
Error: Nothing to do
[root@localhost ~]#
但是最近發現會出現 No package sshd available.
研究後發現
ssh 用戶端程式的套件改成 openssh-clients 了
sshd 伺服器端程式的套件改成 openssh-server 了
[root@localhost ~]# yum list | grep openssh
openssh.x86_64 5.3p1-94.el6 @anaconda-CentOS-201311272149.x86_64/6.5
openssh-askpass.x86_64 5.3p1-94.el6 @anaconda-CentOS-201311272149.x86_64/6.5
openssh-clients.x86_64 5.3p1-94.el6 @anaconda-CentOS-201311272149.x86_64/6.5
openssh-ldap.x86_64 5.3p1-94.el6 base
openssh-server.x86_64 5.3p1-94.el6 base
[root@localhost ~]#
所以安裝方法該改成
[root@localhost ~]# yum -y install openssh*
啟動
[root@localhost ~]# service sshd start
Starting sshd: [ OK ]
[root@localhost ~]#
(完)
沒有留言:
張貼留言