Ubuntu 12.04配置SSH

心鑫發表於2013-09-18

2012-05-28 17:34:09|  分類: IT |  標籤:ubuntu  ssh  安裝  12.04  |字號 訂閱

下載安裝檔案:
1,在https://launchpad.net/ubuntu/precise/i386/openssh-client/1:5.9p1-5ubuntu1 下載 openssh-client_5.9p1-5ubuntu1_i386.deb 
2,在https://launchpad.net/ubuntu/precise/i386/openssh-server/1:5.9p1-5ubuntu1 下載 openssh-server_5.9p1-5ubuntu1_i386.deb
3,在https://launchpad.net/ubuntu/precise/i386/ssh/1:5.9p1-5ubuntu1 下載 ssh_5.9p1-5ubuntu1_all.deb 

安裝第一個檔案:
root@ubuntu:~/downloads# sudo dpkg -i openssh-client_5.9p1-5ubuntu1_i386.deb 

安裝第二個檔案
root@ubuntu:~/downloads# sudo dpkg -i openssh-server_5.9p1-5ubuntu1_i386.deb 

安裝第三個檔案
root@ubuntu:~/downloads# sudo dpkg -i ssh_5.9p1-5ubuntu1_all.deb 

測試。
root@ubuntu:~/downloads# ssh localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established.
ECDSA key fingerprint is 2e:e9:11:4f:dc:f7:fc:54:a1:4b:06:e4:85:5e:87:c2.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686)

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

Last login: Mon May 28 00:44:32 2012

相關文章