如果要在另外一台机器上,例如 windows 上远程访问我的 ubuntu, 就需要开启 ssh 服务。
而 ubuntu 只是默认安装了 ssh 的客户端 openssh-client, 所以就需要安装 openssh-server:
sudo apt-get install openssh-server
启动服务
/etc/init.d/ssh start
查看 sshd
ps -auxw | grep ssh
参考:
http://www.linuxidc.com/Linux/2010-02/24349.htm