Remote connection to Linux (Ubuntu Config SSH service) 22 port

Source: Internet
Author: User
Tags openssh server

Recently installed in the virtual machine Ubuntu 14.04 Server version, the installation process choose to install OpenSSH client clients, the server side default is not installed. The Windows7 client uses the Xshell tool to remotely connect to Ubuntu server, prompting the 22 port connection to fail, and the cmd window telnet 22 port also fails to connect, originally caused by 22 ports not open.


Here's how to open the Ubuntu SSH 22 port:

Need to install OpenSSH server

To install using a command:

$sudo Apt-get Install Openssh-server

Need to ensure that your virtual machine is connected to the Internet and need to download the installation package


Once the installation is complete, restart the configuration

$sudo/etc/init.d/ssh Restart


WINDOWS7 Client Use Xshell connection OK, done!



Remote connection to Linux (Ubuntu Config SSH service) 22 port

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.