Monday, July 22, 2019

How to configure SSH Key Gen based authentication


  How to configure SSH Key Gen based authentication
Ans.-1 => Follow these step for password and passphrese less authentication
#ssh-keygen ( This command will generate a pair off key inside ~/.ssh/id_rsa and ~/.id_rsa.pub
2=> Copy ssh id to remote host.
#ssh-copy-id -i ~/.ssh/id_rsa_pub root@192.168.0.51


3=>
#ssh-agent bash
#ssh-add
#ssh-add -l => This command is used to show ssh agent key list

No comments:

Post a Comment

Installing Jenkins on RHEL 8 is a straightforward process. Here's a step-by-step guide

Introduction  Jenkins is an open-source automation server widely used for continuous integration (CI) and continuous delivery (CD) pipelines...