[PLUG] scp

William Lee Irwin III wli@cs.purdue.edu
Wed, 15 Sep 1999 23:43:35 -0500


On Wed, Sep 15, 1999 at 11:35:59PM -0500, Matthew Scott Wallace wrote:
> 1) use .rhosts, as was already mentioned
> 2) use a public/private key pair with a null passphrase (slightly more
> secure than .rhosts)
> 3) you _might_ be able to rig something up with ssh-agent.. tho since it's
> a cron job it'd be tough.  Basically ssh-agent allows you to enter your
> RSA passphrase once and it forwards the connection to other X11 windows
> you open.. but cron doesn't really run in an X11 window.. you might be
> able to work it tho..

Some of the other things you might want to notice are the following:
1) Using .shosts instead of .rhosts keeps people from trying rsh hacks.
2) You need the two hosts to exchange host keys and put them in
   ~/.ssh/known_hosts
3) You probably also want to add the public key for that account into
   the ~/.ssh/authorized_keys
4) Someone else is going to have to talk about how to set up ssh-agent,
   since I've never tried it myself.
5) It might be a good idea to put up an ssh-HOWTO somewhere around PLUG's
   various webpages.


Bill Irwin
President, Purdue Chapter of the ACM