Remote access to Ubuntu using SSH

Source: Internet
Author: User

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"/>


    • Second, close the firewall

Use sudo ufw disable .


    • Third, restart ssh Service

using Commands sudo/etc/init.d/ssh Restart to ssh Service Restart


    • iv. using ssh tool to sign in

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.