Xshell 连接ubtuntu

xshell连接不了ubuntu,原因没有安装openssh-server,解决方法:


$:sudo apt-get install openssh-server


查看server是否启动:


$:ps -ef |grep ssh


如果看到/usr/sbin/sshd -D,说明服务已经启动,否则服务尚未启动,那么需要启动server: 


$:/etc/init.d/ssh start



接下来就可以用xshell连接了。如果xshell中看到乱码的情况,那么可以xshell的编码改成UTF-8!

猜你喜欢

转载自lisanlai.iteye.com/blog/947582