There are many articles about ssh server configuration, such as ssh service configuration under Linux. Here we only list some common commands for viewing ssh service related information. 1 Installation apt-get install openssh-server 2 After completion, check whether the ssh server is started: ps -e | grep ssh If there is only: ssh-agent Explanation: The server is not started It can be started manually: sudo /etc/init.d/ssh start Or restart ubuntu 3 Now you can use putty to connect rpm -qa | grep ssh You can see the ssh installation package in the system rpm -ql openssh-3.5p1-6 View the installation information of the installation package (such as installation path, configuration file, etc.) ps -e | grep ssh Check whether the ssh service is running. If so, you can see something similar to the following: 2254 ? 00:00:00 sshd This proves that ssh is already running, and the process name is sshd If it is not running, you can run it with the following command: root]#/etc/rc.d/init.d/sshd start root]#service ssh start Let's take a look at the network connection status of this ssh service: root]#netstat -ntlp If you see something like this: tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 22109/sshd This means that sshd is working properly. If you cannot connect using a client (SecurCRT, putty, etc.), try turning off the firewall. Try the wall: service iptables stop The above method of checking Linux ssh service information and running status is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: MySql 8.0.11-Winxp64 (free installation version) configuration tutorial
>>: Promise encapsulation wx.request method
1. In Windows system, many software installations...
Searching online for methods to deploy Angular pr...
Since I have parsed HTML before, I want to use Vu...
<br />Question: Why is it not recommended to...
1. What are the templates for ASP.NET Web applicat...
The detailed installation process of mysql5.7.21 ...
Table of contents How to start mysqld Method 1: m...
MySQL replication table detailed explanation If w...
Portainer is an excellent Docker graphical manage...
What is routing? Routing refers to the activity o...
This article mainly introduces the solution to th...
The nginx configuration file is mainly divided in...
Preface This article mainly introduces the releva...
Recently, I participated in the development of th...
This article introduces the method of using CSS3 ...