Say YES to Password-free SSH Access!

Setting up a password-free SSH connection!

Sahitya Maruvada
25 Days of Linux

--

Introduction:

SSH (Secure Shell ) is an application layer networking protocol that is used to establish a secure connection between two systems. Using a password to establish a secure connection, is defeating the whole purpose of a secure connection. Passwords can be tricky, they are seldom used properly. They are either used repeatedly for multiple accounts or they are too easy to guess or they are super complicated that you end up forgetting. If a password is the only thing that is securing your data transfer, it isn’t protected. This article is all about discovering a better way to establish a secure connection.

Config files :

On a Linux system, OpenSSH is the most common tool used for remote logins with SSH protocol. Like any other package, the config files for OpenSSH are located in the /etc directory. By default the OpenSSH server runs on port 22, you can choose to use any other open port for SSH and this can be set up in the config files below.

There are two files of interest in the /etc/ssh directory

  • sshd_config: This config is specific to the OpenSSH server. It controls how remote clients can log in on to the machine.

--

--

Sahitya Maruvada
25 Days of Linux

Tech and Travel Enthusiast!! Software Engineer by profession!! Writing on Medium is my way of giving back to the dev community 😃