There are many articles on the SSH server configuration, such as the SSH service configuration under Linux, and here are just a few common commands to view information about the SSH service.
Rpm-qa | grep SSH can see the system in the SSH installation package
RPM-QL openssh-3.5p1-6 View the installation package installation information (such as installation path, configuration file, etc.) ps-e | grep ssh to see if the SSH service is running, if there is, you can see something similar to the following: 2254? 00:00:00 sshd This proves that SSH is already running, and that the process named sshd is not running, you can run it with the following command: Root]#/etc/rc.d/init.d/sshd Startroot] #service sshd start and look at the network connection for this SSH service: root] #netstat-NTLP If you see the following: TCP 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 22109/sshd This indicates that sshd is working properly if the client (Securcrt,putty, etc.) is not connected to the , try shutting down the firewall try: Service iptables stop
View Linux SSH service information and operational status