1.ubuntu first have to install ssh
sudo apt-get install openssh-server
2. Start ssh
sudo /etc/init.d/ssh start
3. Check whether to open
ps -e | grep ssh
ps: Displays all running processes
-e: Show All
4. Get ip address of the host Ubuntu
ifconfig
5.port remember 22