First, check if the SSH service is installed
Apt-cache Policy Openssh-client Openssh-server
Ubuntu installed by default Openssh-client,openssh-server requires manual installation
Second, the installation of SSH services
Apt-get Install Openssh-server
Third, check the opening status of SSH service
Ps-e|grep SSH
If sshd appears, the SSH service is turned on. If there is only agent, the success has not been enabled
Iv. Open SSH Service
/etc/init.d/ssh start
V. Implement remote Access 5.1, modify the configuration file
Vim/etc/ssh/sshd_config
Comment out Permitrootlogin Without-password
Add Permitrootlogin Yes immediately on the following line
5.2. Restart the SSH service
/etc/init.d/ssh restart
5.3. Check the SSH service opening status
Ps-e|grep SSH
5.4, using putty to achieve remote access to Ubuntu
Input IP, login name, password for remote access to Ubuntu
ubuntu16.04 Installing the SSH service and implementing remote access