安裝SSH: yum install ssh 啟動SSH: service sshd start 設置開機運行: chkconfig sshd on 一般默認CentOS已經安裝了OpenSSH,即使你是最小化安裝也是如此。