| www.delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <195b3f1f0610251900v10aafb8ft98cb3e7c5dc865e9@mail.gmail.com> |
| Date: | Thu, 26 Oct 2006 11:00:15 +0900 |
| From: | "Wynfield Henman" <wynfield AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: How to go through a company proxy with ssh ? |
| In-Reply-To: | <31b7d2790610250953k73c40f97xc535cbd2c1e1dc2c@mail.gmail.com> |
| MIME-Version: | 1.0 |
| References: | <1161794425 DOT 453f93799c70c AT imp1-g19 DOT free DOT fr> <31b7d2790610250953k73c40f97xc535cbd2c1e1dc2c AT mail DOT gmail DOT com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
I don't know about corkscrew, but some variation of the below which I
use may be helpful to you.
Regards,
Darel Henman
--------------------------------------------------
# Example:
## Get connect (small yet good)
# wget http://www.taiyo.co.jp/~gotoh/ssh/connect.c
#
## Compile it
# gcc connect.c -o connect
## Install it somewhere in your path
# install -m 755 connect /bin
## Configure SSH (example)
## set up ~/.ssh/config.txt or config
## so it can go through your proxy.
# overwrites you .../.ssh/config (or edit)
cat <> ~/.ssh/config
Host xxx.connect_to_host.yyy.com
ProxyCommand connect -H
proxy-2.your-company-proxy-nameoraddress:8080 %h %p
EOF
# the 8080 is the proxy port addr. use whatevery
# your company uses: You may have to look into
# your http://proxy-2.xxx:50081/proxy.pac file to find the a proxy
direct address....
At this point you might try:
ssh -p 443 <arguments-if-any>
#END
----------------------------------------------------
On 10/26/06, DePriest, Jason R. <jrdepriest AT gmail DOT com> wrote:
> On 10/25/06, Teggy P Veerapen <> wrote:
> > Hello,
> >
> > I am trying to figure out how to connect to a remote ssh server (in fact to my
> > home pc which is hosting cygwin/sshd server) with the standard ssh client
> > coming with cygwin and I need to go through my company proxy.
> ...
> > I have done some search on the internet on such issue and I have read about the
> > ProxyCommand in ssh configuration
>
> I use corkscrew (http://www.agroman.net/corkscrew/) to make use of the
> ProxyCommand feature in my ~/.ssh/config file.
>
> It works great.
>
> -Jason
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |