1 person found this helpful
I run this to prepare systems. You'll need to run it once from each side:
It may just be that you need to set specific permissions on the authorized_keys file
\# sshput $HOME/.ssh/authorized_keys && \
chmod 0600 $HOME/.ssh/authorized_keys'
if \[ $? -eq 0 ]
echo Public key installed on remote machine.
echo You should now be able to connect with
echo " ssh $1"
echo Sorry, an error occurred!
I find the answer....
as well as creating key pairs and copying the id_rsa.pub to the other machines authorized_keys you also need to make sure that you edit the sshd_config file to allow rsa authentication AND (this is what got me!) you need to specify in the ssh client not to ask for a password!!!!) doh!!
you need to specify in the ssh client not to ask for a password!!!!) doh!!
I know that there is quite a long time since this post was written but i'm in the same problematic here and I'm hard searching for a way to specify this in sshd_config and I can't find it...
does anyone know how to disable asking pw when I configure my ESX / putty key pair. I found a doc talking about ESXi but nothing about ESX 3.5 and it's quite a different way of approach i guess.