a networking question
Troy Piggins
troy at piggo.com
Thu Oct 13 02:17:53 UTC 2005
* Soo-Hyun Choi <shchoi at gmail.com> :
> > > If my machine is sitting behind some proxy server,
> >
> > What type of proxy-server? Socks, HTTP(s), FTP, ...?
>
> I think it is HTTP(s) proxy (but I need to check this with our net admin.)
>
> > > and I cannot do 'ssh' to a machine beyond the
> > > proxy server, how can I do 'ssh'
> >
> > SSH through a proxy? I think there's no way (for http/ftp proxies) apart
> > from using an interactive php-shell on the machine behind the proxy, as you
> > won't get a direct socket-connection to the host.
>
> Then, how can I do 'ssh'?
Perhaps it's more of a firewall issue, rather than proxy. SSH's
default port 22 may be blocked. And NAT allowing related packets in
from outside?
Need more information on the gateway/network.
> > > (even 'apt-get')?
> >
> > For apt-get you imho need to set the needed proxy-settings within the
> > wget-configuration (/etc/wgetrc). If you are behind a proxy without
> > authentification the entries should look like the ones already in the
> > config. If you need simple authentification the entry for a proxy is
> > "protocoll://username:password@server:port" (without quotes), if the proxy
> > is authentificating against a windows-domain, you'll need imho an entry like
> > "protocoll://domain\\\\username:password@server:port" (WITH QUOTES).
> >
> > > E.g., what sort of settings should I have to change for proxy? or what
> > > kind of my machine's settings should be changed?
> >
> > If these options are not sufficiant you should set the enviroment-variables.
> > "export ftp_proxy <proxy>" and "export http_proxy <proxy>" (<proxy> should
> > be replaced by the entries used above).
>
> I will do the above step and will tell you the outcomes.
--
Troy Piggins
[Ubuntu v5.10 (Breezy Badger) preview release]
More information about the ubuntu-users
mailing list