Skip to content

OpenSourceHolic

Explore an unexplored horizon of Open Source with Me

  • About
  • Contact me

Tag: passwordless

How To Setup Password-less Login to Ubuntu/Linux using SSH KeyGen/RSA Key

May 26, 2014May 31, 2014 Swapnil A Wagh4 Comments

One popular usage of SSH is to allow users to access a command shell on a remote computer for administrative purposes, normally TCP port 22 is used by it. SSH logins are very sensitive to brute force attacks. A thousand things can go wrong which could give someone unauthorized access to your server. As long as people use weak passwords, the bad guys will be trying to brute force them.

Because a lot of people with SSH servers use weak passwords, many online attackers will look for an SSH server, then start guessing passwords at random. An attacker can try thousands of passwords in an hour, and guess even the strongest password given enough time. The recommended solution is to use SSH keys instead of passwords.

The best way to secure your SSH login is to use Public/Private PEM keys. This is default login type for Amazon EC2 servers. In this post will show you how to use PEM file to login to your VPS or any other Ubuntu server.

Continue reading “How To Setup Password-less Login to Ubuntu/Linux using SSH KeyGen/RSA Key” →

Advertisements
Posted in Linux, Network, Security, UbuntuTagged amazon, EC2, login, Networking, passwordless, pem, Security, SSH, SSH-KeyGen, sshd_conf, Ubuntu
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy