Re: [lftp] providing key file for ssh in fish protocol

2014-12-09 Thread Andrew Schulman
> 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. set fish:connect-program ssh -a -x -i KEYFILE __

[lftp] sftp with an encrypted key

2014-12-09 Thread Andrew Schulman
To connect to an sftp site using an SSH private key, the standard advice is to use set sftp:connect-program ssh -a -x -i /path/to/key If the private key is unencrypted, this works fine. (A key loaded in a running ssh-agent also works fine, without the above.) But if the key is encrypted, the

[lftp] some questions

2014-12-09 Thread Farzin Hamrahi
Dear Alexander Lukyanov Hi I use your professional lftp program.Thanks a lot for contribute it. Is lftp check transferred files check sum (md5sum or another ones) after transferring files with get or mirror command ? If yes how that do ? Is it possible to read exclude or include matching files from

[lftp] stdin: is not a tty

2014-12-09 Thread Emmanuel GUILLEMONT
Hi, I wrote a very short script aimed to backup my remote sites on a local machine. The script launches but fails : "stdin: is not a tty" Could someone give me a hand and tell me what's going wrong in what I wrote ? (see below) Big thanks in advance, Emmanuel if [ $TEST_JOUR = 3 ] then ech

[lftp] Fwd: sftp with an encrypted key

2014-12-09 Thread Alexander Lukyanov
Specify the passphrase for the key as password for the connection. In the example you have provided, you have specified an empty passphrase, thus it failed to decrypt the key. If you don't want to give the passphrase in cleartext, don't specify a password in the URL and lftp will ask for a passwor

Re: [lftp] Fwd: sftp with an encrypted key

2014-12-09 Thread Andrew Schulman
> Specify the passphrase for the key as password for the connection. In the > example you have provided, you have specified an empty passphrase, thus it > failed to decrypt the key. > > If you don't want to give the passphrase in cleartext, don't specify a > password in the URL and lftp will ask f

Re: [lftp] Fwd: sftp with an encrypted key

2014-12-09 Thread Andrew Schulman
> Specify the passphrase for the key as password for the connection. In the > example you have provided, you have specified an empty passphrase, thus it > failed to decrypt the key. > > If you don't want to give the passphrase in cleartext, don't specify a > password in the URL and lftp will ask f