在Ubuntu 桌面版 12.04 LTS安裝並運行SSH


第一步:安裝openssh-server

#sudo apt-get install openssh-server

第二步:查看ssh服務是否已經運行,執行

#ps -e | grep ssh

執行完后可以看到ssh-agent和sshd都運行了。

第三步:重啟shh服務

#service sshd restart

第四步:從別的機器上用secureCRT登錄Ubundu機器,輸入用戶名密碼,終端顯示:

Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686)

 * Documentation:  https://help.ubuntu.com/


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

hy@hy-Aspire-SA10:~$ pwd
/home/hy

這說明SSH服務已經成功了。

至此全文結束,有問題還望您提出。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM