First, installation Openssh-server
using apt-get command install openssh-server
650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image002" src= "http://s3.51cto.com/wyfs02/M02/79/40/wKioL1aMwdaTew7rAAB3SMlX1Gg619.jpg" height= "209"/>
Use sudo ufw disable .
using Commands sudo/etc/init.d/ssh Restart to ssh Service Restart
I'm using it. Xshell software. Set the following as follows:
650) this.width=650; "Title=" clip_image003 "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px; padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" clip_image003 "src=" http:// S3.51cto.com/wyfs02/m00/79/40/wkiol1amwdegxzliaab3y5fgxs4847.png "height=" 499 "/>
Host name is the IP of ubuntu address. Other settings are the default. Select the connection.
will be asked to enter the login user name
650) this.width=650; "title=" clip_image004 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image004" src= "Http://s3.51cto.com/wyfs02/M00/79/42/wKiom1aMwbLx6zjHAABDaZUCiFw229.png" height= "195"/>
Require password
650) this.width=650; "title=" clip_image005 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image005" src= "Http://s3.51cto.com/wyfs02/M02/79/42/wKiom1aMwbOB7k1oAAB3UhleT60198.png" height= "395"/>
Xshell You can see that you're connected to ubuntu up.
650) this.width=650; "title=" clip_image006 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image006" src= "Http://s3.51cto.com/wyfs02/M01/79/42/wKiom1aMwbTAz-ccAAAcTtnmU5o488.png" height= "254"/>
If the following problems occur, refer to the following workaround.
650) this.width=650; "title=" clip_image007 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image007 "src=" Http://s3.51cto.com/wyfs02/M02/79/40/wKioL1aMwdyRb5wxAAAkHkbTzZE083.png "height=" 248 "/>
If it is still not connected, check whether the IP address and the IP in the LAN address conflicts.
This article is from the "Beidou Star" blog, please be sure to keep this source http://weiqi7777.blog.51cto.com/1866266/1732121
Remote access to Ubuntu using SSH