say you wanted to assign a user on the netapp to create nightly oracle snapshots you would do the following to enable passwordless ssh access to the filer
1) secureadmin setup ssh - this will prompt you through ssh setup on the filer 2) use useradmin on the filer to create the role/group/user for oracle
useradmin role add oraclesnap -a login-ssh,cli-snap* useradmin group add oraclesnap -r oraclesnap useradmin user add oraclesnap -g oraclesnap
3) generate an ssh key for the user your script is running as on your unix/linux host, for this example we will call this user oracle
ssh-keygen -t dsa -b 1024 this will prompt you where to save the keys and a key password, just hit enter for the password do not use a password here. once done you will need a copy of the id_dsa.pub public key
4) on the filer create a user directory under /etc/sshd with the same name as the unix user above
mkdir -p /etc/sshd/oracle/.ssh now create the authorized_keys file in that new directory and paste the id_dsa.pub key into that file once complete your filer should have this /etc/sshd/oracle/.ssh/authorized_keys
5) ssh from the unix host as the oracle user and start issuing commands, ssh filer snap list myvolume
voila.
of course change the example for your environment, command access etc
--daniel
-- Daniel Leeds Senior Systems Administrator Edmunds.com
-----Original Message----- From: David McWilliams [mailto:davidkmcw@gmail.com] Sent: Fri 8/3/2007 12:27 PM To: Leeds, Daniel Cc: NetApp list Subject: Re: rsh problem
Very good point, put it down to lazyness. Where do I put the RSA keys on the NetApp, so I don't get prompted for the password?