How to setting SSH keyless linux system Centos
Some time as sysadmin we need to setup the host to login using ssh without typing password
Step 1: Generate RSA key
Generate RSA public and private key by running following command line
Step 2: Create .ssh directory on target machine
Create .ssh directory by running following command line
Step 3: Copy the client public key to target machine
Create .ssh directory by running following command line
Change directory and file privileges
you can enter to target machine via ssh without password now
Tidak ada komentar :
Posting Komentar