[Gllug] scp / sftp comparison
Robert McKay
robert at mckay.com
Sun Mar 24 11:26:03 UTC 2002
On Sun, 24 Mar 2002, Simon Stewart wrote:
> On Wed, Mar 20, 2002 at 03:04:31PM +0000, Bruce Richardson wrote:
> >
> > No. You authenticate the same way with both scp and sftp. The
>
> Not entirely true, as I found out once when I had to sftp to a box
> that only allowed key based logins (ie. didn't allow password based
> logins)
>
> Of course, if you know how to get sftp to use the "-i" flag from ssh
> then I'd be interested in hearing how....
>
> Cheers,
>
> Simon
sftp execv()'s ssh in order to make the connection. You can specify
arguments to pass to ssh via the -o option. I think
-oIdentiyFile=/path/to/identity is what you want.
-Robert.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list