[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ayuda con SH para mirror a sitio conLFTP



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A mi NO. A la lista

Armando Felipe Fuentes Denis escribió:
> lo que quiero es hacer un mirror a los repos del backtrack5.
> lo estoy haciendo mediante el lftp, pero como tengo un proxy por arriba
> de mi no llego a el directamente mi duda es la siguiente que tengo que
> hacer para agregar el proxy al lftp en mi sh

Buenas....

Pues no uso lftp, pero con el man he visto esto:

   lftp can handle several file access methods - ftp, ftps, http, https,
hftp, fish, sftp and file (https and ftps are  only  avail‐
       able  when lftp is compiled with GNU TLS or OpenSSL library). You
can specify the method to use in `open URL' command, e.g. `open
       http://www.us.kernel.org/pub/linux'. hftp is ftp-over-http-proxy
protocol. It  can  be  used  automatically  instead  of  ftp  if
       ftp:proxy  is set to `http://proxy[:port]'. Fish is a protocol
working over an ssh connection to a unix account. SFtp is a proto‐
       col implemented in ssh2 as sftp subsystem.

- ---------
Mas info:

lftp

To get lftp to work through an internal, authenticating firewall, edit
/etc/lftp.conf:

     set ftp:proxy
http://USERNAME:PlainTextPassword@internal.proxy.example.com:8080
     set hftp:proxy
http://USERNAME:PlainTextPassword@internal.proxy.example.com:8080
     set http:proxy
http://USERNAME:PlainTextPassword@internal.proxy.example.com:8080

Fuente: https://sysadm.equoria.com/index.php/Dealing_With_Proxy_Servers

Un saludo
- -- 
"Si los tontos volaran, el cielo se oscurecería"

No me envié correos en formatos propietarios
http://www.gnu.org/philosophy/no-word-attachments.es.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPWLRkAAoJEOWNzQnqy+fzKG8H/AkuRWejALp/q7uyP84aGqWi
5a2DoXDUHXA/HgP0nHMXb/DYJYNb/eDOLTLU4xwfC8JY1mDyM4aKQ34hCgKdejq8
p7O2HdIXx2VXo0yvvMS6sTJs6EF1cdTK9ZhgrqPhttmhYs79UgaTWb5qv1QoS1R/
ilTXRMhFQiroOWX/EH1Di1wTgJtQtH80aj1zQ9+TWSFLMekCw1nsN0028rn7WPnq
B10pecxJ3aki6YxoDimguINCaOyWprLvZ993sQ3lo0AKqUsEePDHfFMlPGJ4mKw/
fIGt1/Cs9EWN7vW4f0mmma5hUTLAGPZFp0GERy+9N441Vii5HTobbFo87U9uxyw=
=uQgz
-----END PGP SIGNATURE-----


Reply to: