>Hi, I was wondering if anyone can help me with my problem. I'm trying to
>use scp2 (and thus, ssh2) to transport some files over a firewalled
>connection in a batch job using Linux. However, ssh2 has no -p or
>-password option in the command line, and rsync's --password-file option
>doesn't work when its default transport protocol is changed. Does anyone
>have any suggestions on how I can work around this? Any help is
>appreciated.
Take a look at my (very, VERY simple) automated SSH key management
tool, and then use ssh (not scp) as your transport choice in rsync.
(Note: scp would work fine with my method described below, but rsync
works with ssh, not scp, and since you're posting to the rsync list
I'll assume that's what you want to use...)
http://www.fox-den.com/auth
JT