Remotely connect to Ubuntu via Xshell

Source: Internet
Author: User
Tags ssh server

Since Xshell remote connection to Ubuntu is via SSH protocol, it is necessary to install an SSH server to Ubuntu.


1) Ubuntu installation SSH server

sudo apt-get install Openssh-server



2) If a problem occurs, restart the SSH service to

sudo service ssh restart



3) Ensure that the Xshell host (here is Win7) and Ubuntu (here is the virtual machine) to each other, because SSH remote connection is connected through the network, if the network is not connected, you can not connect.

A) on the virtual machine Ubuntu view its IP



b) in PC Win7 view its IP






c) ip:ping 10.221.20.16 on the virtual machine Ubuntu terminal flat Win7



d) in PC Win7 terminal flat Ubuntu ip:ping 10.221.20.17



4) Configure Xshell, Telnet
















Remotely connect to Ubuntu via Xshell

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.