How to verify ftp over SSL?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL) 5
  • vsftpd
  • lftp

Issue

  • How to verify ftp over SSL?

Resolution

  • In order to verify the ftp over SSL, please access the ftp server (vsftpd) from client machine:
$ lftp -u <FTPuser> -e 'set ftp:ssl-force true' <FTPserver>

Note: replace FTPuser and FTPserver in above command.

  • To obtain debug messages:
$ lftp -u <FTPuser> -e 'debug 13; set ftp:ssl-force true' <FTPserver>
  • Additional information can be found in man lftp.
  • Component
  • ftp

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments