I've perused a number of different sites trying to find information on how to do this properly but I've not had any luck. I'm afraid at this point I'm all mixed up and/or I'm missing something [painfully] simple.
My goal is to create some keys so that I can ssh/scp, as root, from the ESXi server to another linux/unix server as a different user. Most, if not all, of the sites I found today cover the reverse: ssh/scp from another machine to the ESXi server. I presume ssh ESXi -> Another host via keys is possible...?
I want to believe I'm almost there but in all honesty, I don't know. Here's what I've done so far.
As for the box I'm remoting into I
I tried ssh -l username FQDN, ssh username@FQDN and with the IP itself, each time I was prompted for a password. Naturally if I just do ssh hostname it tries to connect as root which isn't allowed & will fail. Again, I apologize as I'm probably all mixed up now; might be wise to just erase all the keys & start from scratch.
Is this possible?
Is anyone interested in lending a hand?
Resources
http://communities.vmware.com/message/1373428#1373428
http://communities.vmware.com/docs/DOC-8890
http://pkeck.myweb.uga.edu/ssh/
http://computerpr0n.com/2011/04/esxi-remote-management-part-2/
I blogged about this recently:
Awesome - worked like a charm.
I had previously created the ssh link in order to get rsync to work properly but, and here's the kicker, I wasn't using -i when ssh'ing.
Thank you so much! After hours of checking & testing, I was up in less than 1 minute.
Thank you again so so very much.