SOURCE: http://bubble.gritto.net/db/query.php?id=44&ty=HOWTO
Authenticate a linux FTP client using TLS and transfer FTP data using TLS encryption (lftp)
lftp run on Linux
HOW TO:
This guide demonstrates how to use a linux command prompt based ftp to connect to a server the required TLS authentication and encrypted data transmission.
First you need to install lftp:
apt-get install lftp
then launch lftp:
lftp
next, you can type the following commands into the lftp prompt to set the TLS and encryption policies:
set ftp:ssl-auth TLS
set ftp:ssl-force true
set ftp:ssl-protect-list yes
set ftp:ssl-protect-data yes
next, open the connection to the ftp site:
open ftp.example.net
if you use a username and password other than anonymous; you will then need to enter this information:
login username passwod
At this point, you will be authenticated and logged in using TLS encryption. From here you can use the ftp commands like ls, cd, mput, etc.
Here is a list of basic lftp commands.
No comments:
Post a Comment