Configuring SSH servers on Ubuntu

March 24, 2016 | Posted in SSH | Ajoy Oommen

If you need to SSH to multiple servers regularly, this is the simplest way to do this:

  • Create a file (if it doesn’t already exist) ~/.ssh/config

  • Add the following entry for each of your servers

      Host blog
        User ec2-user
        IdentityFile ~/.ssh/acces-key.pem
  • To SSH to your server, run ssh blog

  • To browse the files on your server, open any file, go to File > Connect to server.. In server address, enter sftp://blog and you will be able to browse files in your server.

SSH Linux Ubuntu

Related Posts

27 Feb 2017 » Provisioning an ubuntu server for Django, Postgres, NGINX

11 Jul 2016 » Installing PostgreSQL

01 May 2015 » Supervisor in Elastic Beanstalk

04 Sep 2014 » Forwarding port to a PostgreSQL server

13 Dec 2013 » Using Tata Photon Plus in Linux

26 Jul 2013 » A simple javascript game