netapp ssh keys login (where to put authorized_keys on a netapp)

I wanted to run a script against my netapp to delete some snapshots pragmatically, I used to use rsh for that sort of thing, but rsh is considered evil these days... I found this post, the guy in the post says it doesn't work, but it worked perfectly for me... Put the authorized_keys in the appropriate directory for the user...
/vol/vol0/etc/sshd/root/.ssh/authorized_keys or /vol/vol0/etc/sshd//.ssh/authorized_keys
After that, I was able to delete my snapshots easily
[user@somewhere ~] for x in `seq 1 13`; do ssh root@netapp snap delete vol1 sv_hourly.$x; done deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... deleting snapshot... [user@somewhere ~]
The problems the guy in the post was having might just be permission or other key problems...here's my checklist for keys.

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

About the Author...

Slides from LISA 2019 Linux systems troubleshooting #LISA2019 https://t.co/D4dMKflK6R Tue Oct 29 05:59:30 +0000 2019

https://t.co/AGeihMALAv configuring grub2 with EFI Fri Sep 13 05:20:01 +0000 2019

I published a Thing on @thingiverse! https://t.co/IYpRyEb7Hz #thingalert Tue Jul 23 19:27:57 +0000 2019

Nokogiri install on MacOSX https://t.co/v3An0miW9L Fri Jul 12 15:06:49 +0000 2019

HTML email with plain mailer plugin on Jenkins https://t.co/Z6FSDMDjy8 Thu Jul 11 21:07:25 +0000 2019