ubuntu下安装ssh2的方法非常的简单:
iceant@iceant-desktop:~/share$ ssh localhost
ssh: connect to host localhost port 22: Network is unreachable
iceant@iceant-desktop:~/share$ sudo apt-get install openssh-server
可使用如下命令重启服务:
sudo /etc/init.d/ssh restart
ubuntu允许远程ssh登录:http://www.linuxdiyf.com/linux/14055.html
Ubuntu下开启SSH服务:http://www.linuxdiyf.com/linux/13547.html