Preface:
To Ubuntu 14.04 LTS system as an example: ssh is a security protocol used for remote login session data is encrypted to ensure the security of data transmission
Methods and Procedures
(1) Update Source List
Open the "Terminal Window", type "sudo apt-get update" -> press Enter -> "Enter the currently logged on user Administrator Password" -> Enter, it
(2) Installation ssh
Open the "terminal window" enter "sudo apt-get install openssh-server" -> ENTER -> input "Y" -> ENTER -> installation
(3) View ssh service is started
Open the "Terminal Window", type "sudo ps -e | grep ssh" -> press Enter -> There sshd, ssh service description has been started, if not start, type "sudo service ssh start" -> Enter - -> ssh service starts
(4) modify the configuration file ssh
Use gedit / vi / vim modify the configuration file "/ etc / ssh / sshd_config"
Open the "terminal window" enter "sudo gedit / etc / ssh / sshd_config" -> Enter -> the configuration file "PermitRootLogin without-password" plus a "#" sign, it commented -> add a "PermitRootLogin yes" -> save, modified successfully.
(5) Restart ssh service, which can connect to the server via normal SercureCRT
/etc/init.d/ssh restart
(6) View Ubuntu IP address 14.04
Open the "Terminal Window", type "sudo ifconfig" -> press Enter -> you can view the IP address.
(7) Download putty v0.63
In Baidu, enter "putty" -> press Enter -> Click the first query results "Download Now" -> After the download is complete, run putty -> Enter the host ip address, session name - > save -> Double-click on "session name" open connection -> enter a user name and password -> Login successful
(8) to establish a link with SecureCRT