To enable debug mode, add -d to command line like
lftp -d -u bizhat,UdddaaaaaartN 174.36.192.112
See lftp
To enable debug mode, add -d to command line like
lftp -d -u bizhat,UdddaaaaaartN 174.36.192.112
See lftp
When i connect to a remote SFTP server using lftp, i get following error
root@ok:~# lftp sftp://[email protected]:22 Password: lftp [email protected]:~> set ftp:ssl-allow false lftp [email protected]:~> mirror --verbose --use-pget-n=8 -c /home/okuser/www.site.com/docs /root/site-backup/ mirror: Fatal error: Host key verification failed. mkdir: Access failed: /root/site-backup/docs: File exists lftp: MirrorJob.cc:242: void MirrorJob::JobFinished(Job*): Assertion `transfer_count>0' failed. Aborted root@ok:~#
The error is “Fatal error: Host key verification failed.”
To fix this, just SSH into this server with command
ssh -p 22 [email protected]
See lftp
When i connect to an FTP server, i get following error
root@hestia-lnx:~# lftp -u sokftp 54.37.215.1 Password: lftp [email protected]:~> dir ls: Fatal error: Certificate verification: Not trusted lftp [email protected]:~> ls -la ls: ls -la: Fatal error: Certificate verification: Not trusted lftp [email protected]:~>
To fix this, run
set ssl:verify-certificate no
You can add this to /etc/lftp.conf to make this permanant
vi /etc/lftp.conf
Add
set ssl:verify-certificate no
See lftp
Connect to a server
lftp -u USER,PASSWORD SERVER_IP
Disable SSL
set ftp:ssl-allow false set ssl:verify-certificate no
Enable Active FTP mode
set ftp:passive-mode off