I've been trying to use lftp over SFTP but I somehow can't get it to connect properly.
I issue the command (which as far as I can tell is the same as the one for sftp), lftp prompts me for the password, which I input, and the lftp prompt appears! This all seems good, but I can't do anything afterwards.
Here's an illustration:
myuser $ lftp [email protected]
Password:
lftp [email protected]:~> ls
`ls' at 0 [Connecting...]
and then it gets stuck there. Note that if I issue sftp [email protected] and input the password everything works flawlessly. Am I missing something obvious?
I'm using lftp version 4.9.2.
The
lftpis primarily an FTP client. If you want it to use SFTP, you have to tell it so: