in reply to Using SCP from CGI

Consider using plain old scp program, which has (at least in recent OpenSSH) special command line option (-i) to specify your custom identity (private or secret key).

Replies are listed 'Best First'.
Re: Re: Using SCP from CGI
by cmburns (Acolyte) on May 07, 2002 at 14:45 UTC
    hmm... not a bad idea. I'll look into that. Of course I have to make that private key world-readable (uh, gives me a bad feeling - but not worse than putting passwords into scripts I guess) or have it chowned. I wish I was root on that machine...

    thanks anyway!