Remote connection to Ubuntu 19.1

You can go directly to the third step and use the existing software to connect directly.

Article Directory

One, configuration environment##

Note: If you downloaded and installed the Ubuntu19.1 mirror like me installed directly, you can skip this big step and go directly to the second step. Because Ubuntu has been configured by default.

First configure the system settings of Ubuntu19.1:

ssh is a security protocol, mainly used to encrypt remote login session data to ensure the security of data transmission.

If you just want to log in to the SSH of another machine, you only need to install openssh-client (ubuntu has a default installation, if not, then sudo apt-get install openssh-client), if you want to make the machine open SSH service, you need to install it openssh-server.

1、 Check if the installation is successful###

To check if the openssh-server is installed successfully, enter:

ps -e | grep ssh

If the following figure appears, it means success:

If you see sshd, it means ssh-server has been started. Skip the following two steps directly.

2、 If it fails###

If not, you can start it like this:

sudo /etc/init.d/ssh start
//or
sudo service ssh start

The ssh-server configuration file is located in /etc/ssh/sshd_config, where you can define the service port of SSH. The default port is 22. You can define other port numbers, such as 222. (Or add a "#" sign to "PermitRootLogin without-password" in the configuration file, comment it out, and add another sentence "PermitRootLogin yes")

Then restart the SSH service:

sudo /etc/init.d/ssh stop
sudo /etc/init.d/ssh start

3、 If you still have installed

Install ssh-server service

sudo apt-get install openssh-server

View the installed services again:

dpkg -l | grep ssh

Then confirm whether ssh-server is started:

ps -e | grep ssh

You can use the command to send the public key to the remote host, so you don't need to enter the password when you connect later.

ssh-keygen
ssh-copy-id 192.168.1.101

The back is the ip address of your computer. Then it will send the key to your computer.

Two, connect to the virtual machine | Ubuntu

Here we use tools:

SecureCRTPortable

The download address is here, no points are required, contact me and send it to you privately, or search a lot on the Internet, but there are many viruses:

[email protected]

Open after downloading:

1、 Create a quick connection:

Note that the username here should be this on your Linux:

wsuo@ubuntu:~$ 

For example, this is wsuo, understand it, it is the username at the top of your command line.

2、 Then click to connect:

3、 Choose to accept and save:

You can choose to save the password so that you don’t have to enter it every time.

4、 connection succeeded!

Then the operation here is the same as in the command line of Linux.

If you think the page is too ugly, the characters are too small, and the characters are garbled, you can refer to my other article to beautify it.

The third update: 20:09:32 on March 10, 2020. The existing software is very mature and convenient. It is recommended to download it directly.

Three, use XShell remote connection##

1、 download###

  1. Go to xshell official website to download xshell6
  2. Use Super Nebula Disk to download (Panya platform) [Address] (http://pan-yz.lsu.edu.cn/share/info/379fbd4a408e15df), password: jnofzl.

2、 use###

During the installation process, you will be asked to enter username and company name, just type them in.

Then create a new session:

In the position shown in the figure, enter your ip address.

The default port number is 22, which is the default port number of the ssh protocol.

Then click User Authentication:

Just enter your username and password, and a window will pop up to select Trust.

Then the remote is successful, just like in the command line in your server/virtual machine.

Recommended Posts

Remote connection to Ubuntu 19.1
Windows remote connection to Ubuntu 16.4 desktop
ubuntu remote connection 22 port
MySQL connected to remote Ubuntu server
Ubuntu ssh-keygen remote login
How to enable Mysql remote access under Ubuntu 14.04
How to upgrade to Ubuntu 20.04
Upgrade Ubuntu 18.04 on Azure to 18.10
Ubuntu Server Chapter 7 Remote Management
ubuntu 16.10 supports ssh remote access
ubuntu7.10 installed to 3D open
Use virtualbox to deploy ubuntu
How to upgrade to Ubuntu 16.04 LTS
How to install Helm in Ubuntu
How to install Ruby on Ubuntu 20.04
How to install Memcached on Ubuntu 20.04
Kali(Ubuntu) MySQL virtual machine remote connection
How to install MySQL on Ubuntu 20.04
How to use hanlp in ubuntu
How to install VirtualBox on Ubuntu 20.04
How to install Protobuf 3 on Ubuntu
How to install Nginx on Ubuntu 20.04
How to install Apache on Ubuntu 20.04
How to install Git on Ubuntu 20.04
How to install Node.js on Ubuntu 16.04
How to install MySQL on Ubuntu 20.04
How to install Vagrant on Ubuntu 20.04
How to install Bacula-Web on Ubuntu 14.04
How to install PostgreSQL on Ubuntu 16.04
How to install Git on Ubuntu 20.04
How to install Anaconda3 on Ubuntu 18.04
How to install mysql in Ubuntu 14.04
How to install Memcached on Ubuntu 18.04
How to install MemSQL on Ubuntu 14.04
How to install Go on Ubuntu 20.04
How to install MongoDB on Ubuntu 16.04
How to install Mailpile on Ubuntu 14.04
How to install PrestaShop on Ubuntu 16.04
How to upgrade to PHP 7 on Ubuntu 14.04
How to install Skype on Ubuntu 20.04
How to install Jenkins on Ubuntu 20.04
How to install Python 3.8 on Ubuntu 18.04
How to install KVM on Ubuntu 18.04
How to install KVM on Ubuntu 20.04
How to install opencv3.0.0 on ubuntu14.04
How to install Anaconda on Ubuntu 20.04
How to install Prometheus on Ubuntu 16.04
How to install Jenkins on Ubuntu 18.04
How to deploy Django on Ubuntu 14.04
How to install Apache on Ubuntu 20.04
How to install R on Ubuntu 20.04
How to install Moodle on Ubuntu 16.04
How to install Solr 5.2.1 on Ubuntu 14.04
How to install Teamviewer on Ubuntu 16.04
How to secure Nginx on Ubuntu 14.04
How to install MariaDB on Ubuntu 20.04
How to install Nginx on Ubuntu 20.04
How to install Mono on Ubuntu 20.04
How to install Go on Ubuntu 20.04
How to install Zoom on Ubuntu 20.04
How to install mysql in Ubuntu 14.04