Am trying to connect remote host by using ssh:
ssh xxxx@hostname.
It will connect by asking password.
But I need to connect host with out password.
Am trying to connect remote host by using ssh:
ssh xxxx@hostname.
It will connect by asking password.
But I need to connect host with out password.
Use public/private keys. To do that you will need to generate a key using ssh-keygen
(man for the documentation) once you have generated the key you will have (assuming you have generated an rsa key) and id_rsa file (your private key) and an id_rsa.pub (your public key) copy the public key to /home/xxxx/.ssh/authorized_keys. Now you will be able to log in without a password.