How to Access SSH Without Password in Easy Steps

Hi folks,

Today we are going to see about how to access SSH without password using SSHKEYGEN.

What is SSH ?

SSH, also known as Secure Socket Shell. It is a network protocol that provides administrators with a secure way to access a remote computer. Secure Shell provides strong authentication and secure encrypted data communications between two computers connecting over an insecure network such as the Internet. SSH is widely used by network administrators for managing systems and applications remotely, allowing them to log in to another computer over a network, execute commands and move files from one computer to another.


SSH is a network protocol used to remotely access and manage a device. The key difference between Telnet and SSH is that SSH uses encryption, which means that all data transmitted over a network is secure from eavesdropping. Like Telnet, a user accessing a remote device must have an SSH client installed.


Through ssh keys we can connect to remote Linux servers without entering password.

Step 1 ) Login to the local machine and generate generate a pair of public keys using following command.

Once you entered this command, sequentially press “Enter” 3 times.

By default Your public key has been saved in /root/.ssh/

Step 2 ) Now you have copy the public key to remote machine to which you connect without password.

You can copy this file to remote machine through several methods. Now I’m going to copy this file to remote host through ssh-copy-id utility .

Step 3 ) Once copied you can able to access remote server, You can directly login to remote server SSH without password.






View all posts by

Leave a Reply

Your email address will not be published. Required fields are marked *