[plug] Using SCP without entering a password interactively

Greg Mildenhall assassin at live.wasp.net.au
Thu Sep 27 15:03:22 WST 2001


On Thu, 27 Sep 2001, Russell Steicke wrote:
> On Thu, Sep 27, 2001 at 01:10:13PM +0800, Mike Hasleby wrote:
> > Is there any way of passing a password to scp on the command line or in
> > a config file, etc.?
> Read ssh(1), particularly the section on public-key cryptography and the
> $HOME/.ssh/authorized_keys file.  You don't need to save passwords
> anywhere for this to work.

Not for the encryption, no, but he wants to modify the filesystem of a
remote host, so I certainly hope there will be a password/passkey saved
somewhere for purposes of authentication. Read ssh(1). :)

-Greg




More information about the plug mailing list