After generating SSH RSA keys to allow password-less SSH from an ESXi5 host to another SSH server, where does the private key file belong? The default location is /root/.ssh, which does not exist under ESXi5. Does it go into /.ssh? Has anyone set this up on ESXi5 and know where the private key used for outgoing SSH sessions is stored?
save them under here
/etc/ssh/keys-root/authorized_keys
save them under here
/etc/ssh/keys-root/authorized_keys
ESXi 5.x:
scp /etc/vcl/vcl.key.pub <ESXi host>:/etc/ssh/keys-root/authorized_keys |
ssh -i /etc/vcl/vcl.key <ESXi host> |
That did the trick, thanks!