CentOS 6.2 安裝OpenSSH Server

1.首先,我們搜索一下CentOS的軟件庫裏面有沒有已經定義好的SSH服務器包:

$ yum search ssh
... ...
openssh.x86_64 : An open source implementation of SSH protocol versions 1 and 2
openssh-askpass.x86_64 : A passphrase dialog for OpenSSH and X
openssh-clients.x86_64 : An open source SSH client applications
openssh-ldap.x86_64 : A LDAP support for open source SSH server daemon
openssh-server.x86_64 : An open source SSH server daemon
... ...

OpenSSH是Secure Shell的一個開源實現。從上面的搜索結果可以看到,CentOS的軟件庫裏面已經有了OpenSSH的服務器包(openssh-server)和客戶端包(openssh-clients),用yum install可以直接安裝。

手動啓動sshd服務,方便後面客戶端的連接:

$ /etc/init.d/sshd start


發佈了26 篇原創文章 · 獲贊 11 · 訪問量 16萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章