Hi,
Here is the best way of ssh sharing between Linux server
Step 1: Create public and private keys using ssh-key-gen on local-host
$ssh-keygen (hit enter->enter-->enter)
Step 2: Copy the public key to remote-host using ssh-copy-id
$ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
Step 3: Login to remote-host without entering the password
$ssh remote-host
This has been tested on Redhat Linux and Oracle Linux and will not work on AIX.
Thanks for reading this.
Here is the best way of ssh sharing between Linux server
Step 1: Create public and private keys using ssh-key-gen on local-host
$ssh-keygen (hit enter->enter-->enter)
Step 2: Copy the public key to remote-host using ssh-copy-id
$ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
Step 3: Login to remote-host without entering the password
$ssh remote-host
This has been tested on Redhat Linux and Oracle Linux and will not work on AIX.
Thanks for reading this.