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

FAQ
It is currently Fri Dec 01, 2023 1:46 am


Internet Protocol, Transport Control Protocol, Network protocols, Routing, Routers, IP aliases, Routes, Ethernet

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

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250

Offline
 

Set up FTP PROXY via command line in Linux/FreeBSD

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





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "Set up FTP PROXY via command line in Linux/FreeBSD"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Set up HTTP PROXY for shell internet access Linux/FreeBSD

mandrei99

0

66038

Tue Jan 20, 2015 4:59 pm

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD and Linux: How to find live hosts on a directly connected subnet with ping

mandrei99

0

4229

Mon Jan 12, 2015 9:24 am

mandrei99 View the latest post

There are no new unread posts for this topic. Unix reverse dns lookup - using dig command - PTR dns record type

mandrei99

1

13955

Tue Jan 13, 2015 4:48 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to add IP alias in Debian Linux to last after reboot

debuser

3

4949

Sat Jul 21, 2012 6:03 am

Harespok View the latest post

There are no new unread posts for this topic. Linux: How to list IPv6 neighbors

mandrei99

0

3850

Thu Oct 09, 2014 3:11 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to add (persistent) static ARP entries in Linux

mandrei99

0

31055

Mon Sep 29, 2014 5:17 am

mandrei99 View the latest post

There are no new unread posts for this topic. Linux How to change hardware MAC address of an interface

debuser

1

3595

Tue Dec 06, 2011 6:26 am

Zettie49 View the latest post

There are no new unread posts for this topic. DNS reverse lookup in Windows 7 and Linux using - nslookup

mandrei99

0

5937

Tue Jan 13, 2015 8:31 pm

mandrei99 View the latest post

There are no new unread posts for this topic. How to dump kernel route cache in Linux

mandrei99

0

4796

Mon Jan 12, 2015 11:26 am

mandrei99 View the latest post

There are no new unread posts for this topic. Linux adding and removing vlan tagged interfaces

mandrei99

0

35566

Wed Aug 28, 2013 8:19 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
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