NetApp Release 7.2.3: Thu Jul 5 10:06:16 PDT 2007
How do I get ssh public key authentication working?
I tried putting ssh V1 and V2 public keys in
/etc/sshd/authorized_keys /etc/sshd/authorized_keys2
/etc/sshd/root/.ssh/authorized_keys /etc/sshd/root/.ssh/authorized_keys2
But none of that worked.
Is there some documentation about how to get ssh key (non-password) authentication working?
Thanks in advance,
Karl
Have a look at the VMware on NetApp best practices (TR3428). http://www.netapp.com/library/tr/3428.pdf starting on p.36.
Share and enjoy!
Peter
-----Original Message----- From: Karl Amrhein [mailto:ksa@slac.stanford.edu] Sent: Thursday, January 24, 2008 3:49 PM To: toasters@mathworks.com Subject: ssh public key authentication (NetApp Release 7.2.3)
NetApp Release 7.2.3: Thu Jul 5 10:06:16 PDT 2007
How do I get ssh public key authentication working?
I tried putting ssh V1 and V2 public keys in
/etc/sshd/authorized_keys /etc/sshd/authorized_keys2
/etc/sshd/root/.ssh/authorized_keys /etc/sshd/root/.ssh/authorized_keys2
But none of that worked.
Is there some documentation about how to get ssh key (non-password) authentication working?
Thanks in advance,
Karl
Off the top of my head...
What did u use to gen the ssh key?
A Putty key need to be converted to be used and I think there a tool inside putty to do that.
This is the correct location: /etc/sshd/root/.ssh/authorized_keys
Then this should work Ssh root@filer date
Not sure if it needs to be rsa, rsa1 or dsa. (I think it is probably dsa though). Make sure you have run "secureadmin setup ssh" and then something like "secureadmin enable all" or "secureadmin enable ssh2"
--tmac Sent from my Verizon Wireless BlackBerry
-----Original Message----- From: Karl Amrhein ksa@slac.stanford.edu
Date: Thu, 24 Jan 2008 15:48:35 To:toasters@mathworks.com Subject: ssh public key authentication (NetApp Release 7.2.3)
NetApp Release 7.2.3: Thu Jul 5 10:06:16 PDT 2007
How do I get ssh public key authentication working?
I tried putting ssh V1 and V2 public keys in
/etc/sshd/authorized_keys /etc/sshd/authorized_keys2
/etc/sshd/root/.ssh/authorized_keys /etc/sshd/root/.ssh/authorized_keys2
But none of that worked.
Is there some documentation about how to get ssh key (non-password) authentication working?
Thanks in advance,
Karl
Thank you very much to:
Peter Learmonth Tim McCarthy
for their quick responses. I have it working now.
I created a passphrase-less ssh protocol 2 key on Solaris using: $ sudo ssh-keygen -t dsa
And then put the public key on the toaster at: /etc/sshd/root/.ssh/authorized_keys
Thanks also for the link to the documentation http://www.netapp.com/library/tr/3428.pdf
Much appreciated.
Karl Amrhein