On Mon, Oct 27, 2014 at 01:20:55PM +0530, akshay gupta wrote:
> What if I also want to specify the ssh user for the transfer.

You can specify the user in the URL:

        open sftp://USER:@example.org

Note the colon with no password, it is needed for lftp to ask not for a
password when other authentication methods are used.

-- 
   Alexander.

> On Wed, Oct 15, 2014 at 10:51 AM, Alexander V. Lukyanov <l...@netis.ru>
> wrote:
> 
> > On Tue, Oct 14, 2014 at 04:12:50PM +0530, akshay gupta wrote:
> > > I want provide a key file for authentication in fish protocol. Fish
> > > internally uses ssh for connection and ssh have a support for providing
> > key
> > > files for password less authentication, how can I provide key file using
> > > lftp for FISH protocol.
> >
> > You can specify arbitrary ssh options using fish:connect-program setting:
> >
> >         set fish:connect-program "ssh -a -x -i your-private-key-file"
> >
> > --
> >    Alexander.
> >

> _______________________________________________
> lftp mailing list
> lftp@uniyar.ac.ru
> http://univ.uniyar.ac.ru/mailman/listinfo/lftp

_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to