Update Ubuntu Source
Open "Terminal Window", enter "sudo apt-get update", terminal window can use the search file terminal under the GUI.
Installing the SSH server
Ubuntu has an SSH client installed by default, but no server
Open "Terminal window" and enter "sudo apt-get installopenssh-server"
To see if the SSH service is started
Open "Terminal window" and enter "sudo ps-e|grepssh"
An sshd appears stating that the SSH service has started.
Modifying a configuration file using Gedit
sudo gedit/etc/ssh/sshd_config
Permitrootloginwithout-password "Plus" # comment out, there is this sentence the password is set to the root account is not SSH login.
Add "Permitrootloginyes", this sentence allows the root user to log in
Change the root account password
sudo pwsswd root
-----------------
sudo service Sshstart//start SSH services
sudo service sshrestart//restart SSH services
This article is from the "Thatway" blog, make sure to keep this source http://thatway.blog.51cto.com/4815281/1863090
Ubuntu Open SSH Service (14.04)