Ubuntu setting up ssh
From embeddedTS Manuals
To install ssh, install the package as normal with apt-get:
apt-get install openssh-server
Make sure your board is configured properly on the network, and set a password for your remote user. SSH will not allow remote connections without a password or a shared key.
passwd root
You should now be able to connect from a remote Linux or OSX system using "ssh" or from Windows using a client such as putty.