Linux-ubuntu configuration via 22 Port remote connection

Source: Internet
Author: User

When you install Ubuntu and get the IP address of the corresponding host, to connect to the Ubuntu host via a remote connection tool like Xshell, you need to install the OpenSSH software on the Ubuntu host you just installed to connect to the Ubuntu host remotely. Here's how:

1. Install the OpenSSH client using the sudo apt-get installation openssh-server openssh-client command

2. After restarting SSH sudo/etc/init.d/ssh Restart , you can remotely connect to the Ubuntu system you just installed.

Attention! When using Telnet, enter the account and password to use the account and password you specified when you installed the system, Ubuntu is different from the CentOS use root account, of course, if you install the account is root, then use root login, when entered into the system can switch users, as follows:

Use sudo passwd This command to switch users, the password entered is the password you are about to use the root user login

Next use Su- switch to root user, the password entered here is the password set in the previous step

Next, you can do it under the root user.

Linux-ubuntu configuration via 22 Port remote connection

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.