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