NETWORKSTIP Networking CCNA,Centos,Ubuntu,Sql,

Made By Muhammad Nafees

Breaking

Sunday, 18 November 2018

CentOS 7 SSH key for no password Authentication login with RSA Key

CentOS 7 SSH key for no password Authentication login with RSA Key

 1. ssh-keygen -t rsa
 just simply press enter
if you want to configure password on Rsa file just type a password to protect the other wise leave it blank in my case i am typing password nafees12345

key is generated now copy the id-rsa file in to your pc
next is change mode
2. chmod 700 ~/.ssh 
3. mv ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys

the above command no 3 will change the rsa.pub file to authorized_key this file will used when we try to login via ssh and ssh will match the rsa key from this file now change the mode of file
4. chmod 600 ~/.ssh/authorized_keys 
5. vi /etc/ssh/sshd_config 


 6. systemctl restart sshd

7.Go to official Putty download page, grab the last version of the Putty Windows Installer executable package and install it onto your Windows computer. 

 8.After you have finished installing Putty go to Windows Start, type putty string to search field and open PuTTygen program which you will use it to generate Keys pairs.



Click on load and load the
Now type tha passphrase key which is in my case nafees12345


clik on save private key to save key for putty access
Open putty to left Category menu, select SSH –> Auth, hit the Browse button, search and add your Private Key.


just type user name root and done

1 comment:

  1. Centos 7 Ssh Key For No Password Authentication Login With Rsa Key - Networkstip Networking Ccna,Centos,Ubuntu,Sql, >>>>> Download Now

    >>>>> Download Full

    Centos 7 Ssh Key For No Password Authentication Login With Rsa Key - Networkstip Networking Ccna,Centos,Ubuntu,Sql, >>>>> Download LINK

    >>>>> Download Now

    Centos 7 Ssh Key For No Password Authentication Login With Rsa Key - Networkstip Networking Ccna,Centos,Ubuntu,Sql, >>>>> Download Full

    >>>>> Download LINK Xx

    ReplyDelete