SSH is a security protocol, mainly used to encrypt remote login session data to ensure the security of data transmission.
Installing SSH
sudo apt-get updatesudo apt-get install Openssh-server
To see if the installation was successful
sudo ps-e |grep ssh //has sshd, stating that the SSH service has been started, if not started, enter "sudo service ssh start" and the return-->SSH service will start.
Modify configuration File "/etc/ssh/sshd_config"
sudo gedit/etc/ssh/sshd_configpermitrootlogin without-password "Add a" # "number, comment it out and add a" Permitrootlogin yes "to save
View Unbuntu's IP
sudo ifconfig
Putty Connection
Run the putty--> input host's IP address, session name-Save-double-click Session name to open the connection, enter the user name and password-login succeeded.
Installation and configuration of Ubuntu Telnet Server--ssh