LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2009, 08:45 AM   #1
kewl
LQ Newbie
 
Registered: Feb 2009
Posts: 29

Rep: Reputation: 15
Unhappy wget + behind proxy with username and password


I tried this

Code:
export http_proxy="http://username:p#ssword@xxx.xxx.xxx.xxx:8080"
and then

Code:
[root@localhost crosstool-0.43]# wget http://kegel.com/crosstool/crosstool-0.43.tar.gz
Error parsing proxy URL http://username:p#ssword@xxx.xxx.xxx.xxx:8080": Bad port number.
I am behind a proxy and by just googling i came to know the username and password should be provided along with the port number.I took the same data from my firefox and tried but i got that error msg,..is my syntax correct? or any other mistakes?
 
Old 06-24-2009, 08:58 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You can try to specify user and passwd in the wget command line by means of the proper options:
Code:
export http_proxy="http://xxx.xxx.xxx.xxx:8080"
wget --proxy-user=username --proxy-password=password http://kegel.com/crosstool/crosstool-0.43.tar.gz

Last edited by colucix; 06-24-2009 at 08:59 AM.
 
  


Reply

Tags
proxy, wget



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
advanced proxy Local authentication alway ask for username and password Anas_b Linux - Server 1 11-11-2007 03:11 PM
Wget with username and password? centosfan Linux - General 3 12-20-2006 05:32 AM
setting proxy username and password in environment variable maveickstorm Linux - Networking 2 11-21-2006 12:20 PM
Wget and a username containing a '\' menator Linux - General 2 04-11-2006 08:25 AM
username and password for proxy (ftp install) dutty Mandriva 0 05-19-2004 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration