Usually in the process of Linux development, we need to use remote login tools for the host to log in remotely, so when using a remote login tool like putty or SECURECRT, sometimes there will be no login, then at this point we should think of the first thing is, Our host above the SSH service is open, then the following on the combination of online information summarized as follows:
Open SSH Service
1. See if there is a sshd_config
Cat/etc/ssh/sshd_config//See if there are sshd_config files
2. If no installation is performed
sudo apt-get install Openssh-serveR//install Sshd-server,UbuntuThe openssh-client is installed by default, and if you do not install it, install it with the Apt-get installation.
3. See if Sshsever is started
ps-e |grep ssh
1207? 00:00:00SSH-agent
21834? 00:00:00 sshd
If the sshd is seen to indicate that Sshserver has been started, if only ssh-agent, it is not started, with
sudo/etc/init.d/ssh start Sshserver
4.ssh-server configuration file is located in/etc/ssh/sshd_config, where you can define the SSH service port, the default port is 22, you can define yourself as a different port number, such as 222. Then restart the SSH service with the following command:
sudo/etc/init.d/ssh Restart
5. You can also use the sudo NETSTART-TLP command to detect if you see:
TCP6 0 0 [::]:ssh [::]:*
indicates that the sshserver is starting normally.
access is available through the client.
Start the SSH service under Linux to log in using putty