Unsolved
This post is more than 5 years old
1 Message
1
27457
January 28th, 2010 10:00
passwordless login to drac using private/public keys
I am trying to upload my ssh key to the CMC on Dell M1000e. I uploaded the keys using the following command:
User ID: 3 is a Administrator level user
{1}gt;racadm -r cmc-006-drac -u root -p calvin sshpkauth -i 3 -k 1 -f ./.ssh/id_rsa.pub
The DRAC accepts the key and stores it but still keeps asking for password every time on connect.
excerpt from ssh session
debug2: key: /root/.ssh/identity ((nil))
debug2: key: /root/.ssh/id_rsa (0x2ad10d250150)
debug2: key: /root/.ssh/id_dsa ((nil))
debug1: Authentications that can continue: password
debug3: start over, passed a different list password
debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup password
debug3: remaining preferred: ,publickey,keyboard-interactive,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
root@bop-006-drac's password:
User ID: 3 is a Administrator level user
{1}gt;racadm -r cmc-006-drac -u root -p calvin sshpkauth -i 3 -k 1 -f ./.ssh/id_rsa.pub
The DRAC accepts the key and stores it but still keeps asking for password every time on connect.
excerpt from ssh session
debug2: key: /root/.ssh/identity ((nil))
debug2: key: /root/.ssh/id_rsa (0x2ad10d250150)
debug2: key: /root/.ssh/id_dsa ((nil))
debug1: Authentications that can continue: password
debug3: start over, passed a different list password
debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup password
debug3: remaining preferred: ,publickey,keyboard-interactive,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
root@bop-006-drac's password:
No Events found!


CarlosMa
4 Posts
0
November 2nd, 2016 19:00
Cant explain why it doesn't work that way but I did it directly from the ssh prompt:
racadm sshpkauth -i 2 -k 1 -t " "
BTW. Where does one get the racadm for Linux?