Hi Everyone ,
Currently i am working on ESXI 5.0 for my testing.But i want to execute my automation script from third RHEL Linux machine. so i am tring to make ssh connection between RHEL to ESXI without Password.
My ultimate goal to create a ssh connection from RHEL to ESXI5.0 without password.
I have tried in google ,most of them suggested in ssh-key ,droper-key ...but i coulnt see those commands in ESXI5.0.Please guide me to create a ssh connection with out password.
Thanks,
Bhoobu
Hi,
You might want to look into using the vMA (vmware management assistant) http://www.vmware.com/support/developer/vima/
It will allow you to run scripts against your esxi hosts without authenticating as you can set up the authentication in advance.
Welcome to the forums!
In general you must switch the ssh daemon from password authentication to public key authentication and use non-encrypted keys.
AWo
Thanks .
I will gothrough vSphere Management Assistant (vMA) guide . I will try out this solution.
is it possible to generate ssh-key gen in ESXI 5.0?
Hi AWo,
Please guide me , how to change the SSH dameon Password Authentication to public-key authentication.
Still i am not able to configure the ESXi5.0 to RHEL 5 without Password
Thanks,
Bhoopathy
Enable the ssh daemon in the security configuration of your ESXi host. Attach to the console with an ssh client. You'll find ssh-keygen under "/usr/lib/vmware/openssh/bin".
AWo
Hi Awo,
While executing Ssh sshkeygen i am getting following ouput.
/usr/lib/vmware/openssh/bin # ssh ssh-keygen
ssh: Could not resolve hostname ssh-keygen: Name or service not known
Please help me how to resolve it
You use one "ssh" too much. "ssh" is the ssh client to connect to servers running the ssh daemon "sshd". You will later use an ssh program on some client to connect to the ESXi host.
Try this "/usr/lib/vmware/openssh/bin/ssh-keygen -t rsa". When it asks for a password just hit enter. It will create the files.
Read that manual für further handling of ssh: http://www.debian-administration.org/articles/152
AWo
For ESX: http://kb.vmware.com/kb/1002866
Also, check out this link: http://communities.vmware.com/message/2044503 for info on ssh-keygen.