You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use gpg-agent to handle SSH key authentication. It's rather complicated to set up (I wrote a blog post about it here), but the upshot is that I successfully use my GPG keys for SSH authentication, in both ssh and lftp.
More specifically, I can connect to a server with lftp, and I can download regular files (via pget) or whole directories (via mirror) without a hitch. However, if I try to initiate a multi-segmented download (via pget -n or mirror --use-pget-n), then lftp borks on trying to initiate the parallel connections. Here's the relevant debug output:
---> sending a packet, length=25, type=5(READ), id=189
<--- got a packet, length=150, type=2(VERSION), id=0
---- protocol version set to 3
---- path on wire is `/media/sdu1/thrillho/private/transmission/data/debian.iso'
---> sending a packet, length=114, type=3(OPEN), id=1
<--- got a packet, length=37, type=105(ATTRS), id=2
---- file info: size=1453978621, date=Mon Aug 1 04:37:06 2016
---> sending a packet, length=25, type=5(READ), id=18
<--- got a packet, length=150, type=2(VERSION), id=0
---- protocol version set to 3
---- path on wire is `/media/sdu1/thrillho/private/transmission/data/debian.iso'
---> sending a packet, length=114, type=3(OPEN), id=1
<--- Permission denied, please try again.
---- Disconnecting
pget-chunk: debian.iso: Login failed: Login incorrect
pget: chunk[11] error: Login failed: Login incorrect
---- Disconnecting
---- Disconnecting
---- Disconnecting
---- Disconnecting
---- Disconnecting
These errors do not occur when authenticating via actual SSH keys or username / password.
The text was updated successfully, but these errors were encountered:
I don't know for sure, but you can try enabling verbose logging in ssh and
gpg-agent. Lftp itself just gets a login error from ssh.
чт, 26 апр. 2018, 5:10 Ryan Lue <notifications@github.com>:
I use
gpg-agent
to handle SSH key authentication. It's rather complicated to set up (I wrote a blog post about it here), but the upshot is that I successfully use my GPG keys for SSH authentication, in bothssh
andlftp
.More specifically, I can connect to a server with
lftp
, and I can download regular files (viapget
) or whole directories (viamirror
) without a hitch. However, if I try to initiate a multi-segmented download (viapget -n
ormirror --use-pget-n
), thenlftp
borks on trying to initiate the parallel connections. Here's the relevant debug output:These errors do not occur when authenticating via actual SSH keys or username / password.
The text was updated successfully, but these errors were encountered: