Install and Configure SSH on Ubuntu 14.04

Install SSH

sudo apt-get -y install ssh

SSH Keys

We need an SSH key pair for secure passwordless access to the server.
These steps are to be performed on a client machine such as a desktop or laptop and NOT on the server.

Open Source Software:

Configure Ubuntu 14.04

  • Setup a new user.
    Some services that provide servers install the operating system for you preventing you from creating a user at installation. In this case you will need to perform some additional steps.
    • Add a new user.
      adduser {USER}
    • Add the new user to the sudo group.
      gpasswd -a {USER} sudo
  • Domain and Hostname

Open Source Software:


Subscribe to RSS - Linux