Detailed explanation of the service problem reported by Ubuntu 20.04 using Xshell through SSH connection

Detailed explanation of the service problem reported by Ubuntu 20.04 using Xshell through SSH connection

1. I recently installed a new version of Ubuntu. After modifying the /etc/ssh/sshd_config configuration file, an error message will be displayed when connecting with Xshell. The error message is as follows:

Second, the solution is to add the following content to the last line of the /etc/ssh/sshd_config configuration file:

3. Then restart the ssh service:

4. Change the foreign yum source to the domestic yum source

First back up the original /etc/apt/sources.list configuration file:


Find the Ali source on the Internet, delete the original content in the /etc/apt/sources.list configuration file, and paste the Ali source



Finally, update the source file:

This is the end of this article about the service problem of Ubuntu 20.04 using Xshell through SSH connection error. For more relevant Ubuntu 20.04 SSH connection error content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • How to check whether the ssh service is installed or started in Ubuntu
  • How to install ssh service and realize remote access in ubuntu16.04
  • Detailed installation and use of SSH in Ubuntu environment
  • Detailed explanation of Ubuntu 14.04 bridge network settings and SSH login
  • Detailed tutorial on installing openssh server on ubuntu
  • Detailed installation and configuration of SSH for remote login to Ubuntu server
  • How to set up ssh password-free login installation in Ubuntu
  • Ubuntu basic settings: installation and use of openssh-server
  • Ubuntu starts the SSH service remote login operation

<<:  MySQL 8.0.21 installation tutorial with pictures and text

>>:  How to install MySql in CentOS 8 and allow remote connections

Recommend

JavaScript determines whether the browser is IE

As a front-end developer, I can’t avoid IE’s pitf...

v-for directive in vue completes list rendering

Table of contents 1. List traversal 2. The role o...

Detailed explanation of Angular routing sub-routes

Table of contents 1. Sub-route syntax 2. Examples...

How to solve the problem of case insensitivity in MySQL queries

question Recently, when I was completing a practi...

Introduction to NFS service construction under Centos7

Table of contents 1. Server 2. Client 3. Testing ...

Web designers also need to learn web coding

Often, after a web design is completed, the desig...

How to set horizontal navigation structure in Html

This article shares with you two methods of setti...

MySQL replication mechanism principle explanation

Background Replication is a complete copy of data...

HTML version declaration DOCTYPE tag

When we open the source code of a regular website...

JavaScript built-in date and time formatting time example code

1. Basic knowledge (methods of date objects) 😜 ge...

Detailed explanation of loop usage in javascript examples

I was bored and sorted out some simple exercises ...

Implementing a simple Christmas game with JavaScript

Table of contents Preface Achieve results Code CS...