Ubuntu 12.04没有默认安装openssh-server,需要使用命令sudo apt-get install openssh-server在终端安装,安装完毕后在终端执行ps -e | grep ssh来验证ssh-server是否启动,如果出现sshd则启动成功,如下图:
如果没有看到sshd,则需要/etc/init.d/ssh start启动
Ubuntu 12.04没有默认安装openssh-server,需要使用命令sudo apt-get install openssh-server在终端安装,安装完毕后在终端执行ps -e | grep ssh来验证ssh-server是否启动,如果出现sshd则启动成功,如下图:
如果没有看到sshd,则需要/etc/init.d/ssh start启动