Hello !
Works fine but I'm trying to figure out how to make it do the unattended trick. The whole thing with public/private keys is confusing me to bits. I will tell you how to do it for an RSA1 type key. RSA2 is better, DSA: don't ask me.
--> It will work exactly the same way for SSH2 with RSA or DSA key. You generate them with ssh-keygen -t dsa ssh-keygen -t rsa If you want to be on the safe side, create 2048 bit long keys with the option "-b 2048". The keys will have default names of "id_dsa" and "id_rsa". On some remote systems (depending on the SSH version), you have to copy them to the file "authorized_keys2". Another pitfall: Make sure you have restrictive rights on your home and your ~/.ssh directory. Make chmod 700 /home/user chmod 700 /home/user/.ssh chmod 600 /home/user/.ssh/* You may experiment with other settings, but these should work in any case. If you want to connect to other flavours of unix (like HP-UX), write me a private mail if it doesn't work out. The files have different names and a different hierarchy. HTH, Armin