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

Vue global filter concepts, precautions and basic usage methods

Table of contents 1. The concept of filter 1. Cus...

React Diff Principle In-depth Analysis

Table of contents Diffing Algorithm Layer-by-laye...

Detailed explanation of Docker usage under CentOS8

1. Installation of Docker under CentOS8 curl http...

JavaScript design pattern learning adapter pattern

Table of contents Overview Code Implementation Su...

Example of writing mobile H5 to invoke APP (IOS, Android)

iOS 1. URL scheme This solution is basically for ...

Implementation and usage scenarios of JS anti-shake throttling function

Table of contents 1. What is Function Anti-shake?...

Web front-end performance optimization

Web front-end optimization best practices: conten...

Why Seconds_Behind_Master is still 0 when MySQL synchronization delay occurs

Table of contents Problem Description Principle A...

The most convenient way to build a Zookeeper server in history (recommended)

What is ZooKeeper ZooKeeper is a top-level projec...

Markup Languages ​​- Lists Again

Click here to return to the 123WORDPRESS.COM HTML ...

An IE crash bug

Copy code The code is as follows: <style type=...

Should nullable fields in MySQL be set to NULL or NOT NULL?

People who often use MySQL may encounter the foll...