How to install OpenSsh server on Ubuntu
https://haxordoubt.blogspot.com/2012/10/how-to-install-openssh-client-on-your.html
How
to: Run a SSH server on Ubuntu for secure remote access.
1. Installing the Software
In
this case we are going to use Open-ssh to install the service on your
server, you'll have to open a Terminal and type:
sudo
apt-get install openssh-server
After
this, you'll get asked if you wish to continue, just type “y”
and
the installation will begin and you should see a screen like this
when finished:
This
means you have successfully installed the service on your Ubuntu box!
2. The Testing
In
order to test it's working you'll have to type in the terminal:
ssh
localhost
this
is going to ask you if you want to continue, just hit yes and you'll
be connected securely on your own machine, you can try this with
another computer at home, or try at from another location, to test it
out you can always create a free shell account at sdf.org and try it
out. If you get any issues you might have the port 22 blocked by your
server firewall or your router.
After
this you'll be able to remote to your server from any location and
run any command or application without the need of a big bandwidth
like the remote desktop clients offers.
Please
feel free to ask if you have any questions!