As usual ubuntu always need some extra setting when we need one. For example I need to install ssh server in it. Ubuntu doesn’t have one. So we need to find the program first.
#sudo apt-get install openssh-server
#sudo nano /etc/ssh/ssh_config
Uncheck Port 22 or we can change the port to the empty one.
Restart the ssh