Hi All
I am trying to setup ssh using root from the vMA, into a Esxi4.1 Host using public / private keys.
I have followed the following steps. I am still asked for root pasword
1) SSH enabled on host
2) On vMA changed to root sudo -s
3) Public / Private keys generated in default location
3) Public key copied to ESXi root/.ssh
Still root password required.
Help, Ive missed somthing !
Tony
Are you using Windows, Linux or Mac as your computer?
How did you generate your public key?
Using putty on Windows to ssh into vMA
Tony
If I understand correct you want to SSH from the vMA to your ESXi host?
Make sure you paste the public key under /root/.ssh/authorized_keys on your ESXi host.
Can you then try ssh -vvvv root@IP and give the output?
Can you try the following on the vMA:
No Change
Thats basicly exactly what I have ben doing. Still asks for password.
Tony
Are there any errors in the logs on the ESXi host? /var/log/auth.log ?
I havnt got a /var/log/auth ???
Tony
It should be there, maybe it is in messages on ESXi 4.1. Can you double check everything in this KB (http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=100286...) ?
I have, apart from the changes to /etc/ssh/sshd_config as I cant find that file on my esxi ?
I gues its to do with configuration file. No errors in messages
Tony