ssh-agent seems to do the trick.  From the command line, logged in as
su, I can type:


Code:
--------------------
    eval $(ssh-agent)
  ssh-add /home/tc/.ssh/id_rsa
  
--------------------


I can then run my rsync command, specifying [email protected], without it
prompting me for a password.  Then I kill the ssh-agent with eval
$(ssh-agent -k).

So I think if I top and tail my backup script with those commands I
should be ok.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113676

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to