我在VMWare中装了一个Ubuntu 14,然后在Xshell中用SSH连不上,后来发现Ubuntu不自带openssh服务器,所以若要使用ssh远程登录Ubuntu主机,需要首先安装ssh服务器:
sudo apt-get install openssh-server
安装完后启动ssh服务:
sudo /etc/init.d/ssh start
其中端口默认为22。
然后再连就可以了。
转载于:https://blog.51cto.com/winmin/1737951
我在VMWare中装了一个Ubuntu 14,然后在Xshell中用SSH连不上,后来发现Ubuntu不自带openssh服务器,所以若要使用ssh远程登录Ubuntu主机,需要首先安装ssh服务器:
sudo apt-get install openssh-server
安装完后启动ssh服务:
sudo /etc/init.d/ssh start
其中端口默认为22。
然后再连就可以了。
转载于:https://blog.51cto.com/winmin/1737951