Quote:
Originally posted by nedian123
Hi,
actually help me out thru this problem, let me know the UNCOMMENTED lines of the file /etc/ssh/ssh_config, for passwordless ssh.. in CLUSTERS, i m stuck in this problem..................
|
A way to do what you want is to make a ssh key without a password then put this key into your .ssh/authorized_keys of the user who will be logining into the machines that you need to ssh into. So you would need to on one of your machines with ssh installed use
ssh-keygen -t dsa and tell the program where you want the key saved as and hit the ENTER key twice having not typed a password. Then you would take the key with the .pub on the end (there are two keys created the secret and public key you always use the public one when coping to other machines) and copy it to the machines you need access too
scp /home/user/.ssh/no_password_key.pub user@192.168.0.1:.ssh/authorized_keys then when you login to the host you would use
ssh -i /home/user/.ssh/no_password_key user@192.168.0.1 and it will not ask you for a password.