To install the OpenSSH server application, and related support files, use this command at a terminal prompt:
The openssh-server package can also be selected to install during the Server Edition installation process.
There are many directives in the sshd configuration file controlling such things as communication settings and authentication modes. The following are examples of configuration directives that can be changed by editing the /etc/ssh/sshd_config file.
Ubuntu Downloads Information