Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Mon Oct 21, 2019 4:35 am


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - Set up FTP PROXY via command line in Linux/FreeBSD
Author Message
Post subject: Set up FTP PROXY via command line in Linux/FreeBSD  |  Post Posted: Tue Jan 20, 2015 5:01 pm
Setting up FTP PROXY via command line in Linux/FreeBSD

Setting up FTP PROXY for command line tools in FreeBSD and Linux is the same as setting HTTP proxy: you can make use of the environment variable FTP_PROXY.

Assuming Proxy address 192.168.0.1 and port 3128, we use:

Code:
# export FTP_PROXY='http://192.168.0.1:3128'
In case the proxy requires authentication:
Code:
# export FTP_PROXY='http://username:password@192.168.0.1:3128'


To make this setting permanent, add the line to your /etc/profile or ~/.profile or ~/.(bash|sh|ksh)rc.

Removing FTP_PROXY for current shell requires unsetting the variable:
Code:
# unset FTP_PROXY
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO