Discussion:
{Disarmed} Problem lftp towards Axway Synchrony Gateway
Laurent Chartinier
2014-04-17 09:55:46 UTC
Permalink
Hi,

I have an SFTP server hosted by Axway Synchrony Gateway. For connecting to
this server, we use user/password.
I can connect to my server with WinSCP, FileZilla and lftp 4.0.9 (RHEL 6.5).
With lftp 4.4.8, i have an error :

$ lftp -u'snated,*************' sftp://srv-dmz1:6321
lftp ***@srv-dmz1:~> debug 19;
lftp ***@srv-dmz1:~> ls
FileCopy(0x2004d270) enters state INITIAL
FileCopy(0x2004d270) enters state DO_COPY
---- attempt number 0
---- attempt number 1
---- Exécution du programme de connexion (ssh -a -x -s -l snated -p 6321
srv-dmz1 sftp)
---> sending a packet, length=5, type=1(INIT), id=0
PackUINT32BE(0x00000005)
PackUINT8(0x01)
PackUINT32BE(0x00000006)
<--- Received disconnect from 10.0.9.7: 1: ssh disconnect host not allowed
to connect
**** Connexion interrompue par le tiers
---- Disconnecting

When I check my SFTP Server log, it's like lftp don't send password :
SFTP Connection Request Received
login="snated",pwd="".
Connection Failure, reason : Invalid SFTP Login Password.

I check with lftp 4.0.9 and the server log contains an masked password :
SFTP Connection Request Received
login="snated",pwd="###".
...

Best regards,
Laurent
Alexander V. Lukyanov
2014-06-03 05:49:19 UTC
Permalink
Post by Laurent Chartinier
I have an SFTP server hosted by Axway Synchrony Gateway. For connecting to
this server, we use user/password.
I can connect to my server with WinSCP, FileZilla and lftp 4.0.9 (RHEL 6.5).
$ lftp -u'snated,*************' sftp://srv-dmz1:6321
FileCopy(0x2004d270) enters state INITIAL
FileCopy(0x2004d270) enters state DO_COPY
---- attempt number 0
---- attempt number 1
---- Exécution du programme de connexion (ssh -a -x -s -l snated -p 6321
srv-dmz1 sftp)
---> sending a packet, length=5, type=1(INIT), id=0
PackUINT32BE(0x00000005)
PackUINT8(0x01)
PackUINT32BE(0x00000006)
<--- Received disconnect from 10.0.9.7: 1: ssh disconnect host not allowed to connect
**** Connexion interrompue par le tiers
I don't see any prompt for password from ssh. What happens when you run ssh by hand?
Post by Laurent Chartinier
SFTP Connection Request Received
login="snated",pwd="".
Connection Failure, reason : Invalid SFTP Login Password.
SFTP Connection Request Received
login="snated",pwd="###".
...
--
Alexander.
Loading...