lftp does not work with TLS enabled vsftpd server

Solution Verified - Updated -

Issue

  • lftp cannot connect to TLS enabled vsftpd server. When connecting, the command get's stuck on the below step.
[root@serverA ~]# lftp -d -u foobar -e 'set ftp:ssl-force true' serverA.example.com
Password:
lftp foobar@serverA.example.com:~> ls
---- Connecting to serverA.example.com (10.10.10.40) port 21
`ls' at 0 [FEAT negotiation...]

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.