[UCLA-LUG] ftp or lftp with SSL/TLS

chris linux@linux.ucla.edu
Mon Dec 27 01:48:02 2004


On Sun, 26 Dec 2004, Salvatore Richichi wrote:

> Not surprisingly, I can no longer ftp to www.bol.ucla.edu now that 
> there's SSL/TSL in place. If I do
>
> $ ftp www.bol.ucla.edu
>
> ...username and password I get
>
> 550 SSL/TLS required on the control channel
> Login failed.
>
> and if I try with lftp I get
> [Connecting...]
> [Receiving data]

try

   lftp
   set ftp:ssl-force true
   connect www.bol.ucla.edu
   login <username>

that works with lftp 3.0.11.  it should work with releases as early as 
2.4.9 (my copy of 2.4.9 isn't linked to openssl so i can't verify, but the 
man page suggests that it should work).

i've also verified that access works with the standard netkit ftp with the 
ssl/tls patches applied.  check and see if you have ftp-ssl, or if 
/usr/bin/ftp is linked to libssl.



-chris