Hello,

Am Donnerstag, den 27.04.2017, 11:42 +0000 schrieb Ulrike Uhlig:

> Here is what I'm doing:
> 
> lftp -d user:[email protected] -p 22
> ---- Löse Hostadresse auf...
> ---- 2  Adressen gefunden: 2001:4b98:dc0:950::142, 217.70.180.142
> 
> lftp [email protected]:~> ls
> ---- Verbinde mit sftp.dc0.gpaas.net (2001:4b98:dc0:950::142) Port 22
> <--- SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3
> »ls« bei 0 [TLS Verbindungsaufbau...]
> 
> And it gets stuck at "ls". Nothing happens, no debugging information.
> No certificate, no fingerprint.
> 
> I'm using lftp 4.6.0-1+deb8u1.
> 
> This also happens when I use one of the IPs directly. I tried that
> because I suspected that there might be something wrong with the IPv6
> address.

Try to add the protocol to the commandline. Else it will try to connect
with the ftp protocol to the ssh port:

$ LC_ALL=C lftp -d sftp://user:[email protected]
lftp [email protected]:~> ls
---- Running connect program (ssh -a -x -s -l user sftp.dc0.gpaas.net sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- The authenticity of host 'sftp.dc0.gpaas.net (2001:4b98:dc0:950::142)' 
can't be established.
<--- RSA key fingerprint is SHA256:1Tpwj0UT92ARAGczV2ha6tBE3lQz0uLvBRWCaIPmh6I.
...

Regards

        Noël

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to