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

By thomas, 21 September, 2010
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.