Anyone know how to successfully do SSH from ESXi to Linux? The following link outlines steps to get SSH working from Putty or an external OS to ESXi. I tried to reverse the steps somewhat to make it work the other way around, but it doesn't seem to work.
http://communities.vmware.com/docs/DOC-8890
Thanks.
Looking into this, its a little funny. Dropbear has the ability to create a valid keypair, but theres no actual ssh binary in ESXi. However, you can make it happen.
1) "Create" an ssh symlink to dropbear: ln -s /sbin/dropbearmulti /bin/ssh
2) Create a keypair: dropbearkey -t dss -f privatekeyfile -s 1024. You'll end up with a file in the current directory called 'privatekeyfile' and the system will output a public key in SSH format on the screen:
Life is good!
At the ESXi command prompt, just type 'ssh username@hostname' and you shoudl be fine.
Sorry, I should review my post first..before posting:)
I meant to ask how to do "passwordless" SSH from ESXi to Linux. The article identifies how to convert the private key from dropbear format to openssh. Do I need to do any conversion with the public key?
Ahh, yeah, thats a little different.
let me test on my lab and see what I comeup with.
Looking into this, its a little funny. Dropbear has the ability to create a valid keypair, but theres no actual ssh binary in ESXi. However, you can make it happen.
1) "Create" an ssh symlink to dropbear: ln -s /sbin/dropbearmulti /bin/ssh
2) Create a keypair: dropbearkey -t dss -f privatekeyfile -s 1024. You'll end up with a file in the current directory called 'privatekeyfile' and the system will output a public key in SSH format on the screen:
Life is good!
Thanks, that works!