Here is the example:

http://www.jcraft.com/jsch/examples/ViaHTTP.java

2005/11/3, Jose Gonzalez Gomez <[EMAIL PROTECTED]>:
> I seem to remember that the SSH support in Maven is provided by JSch,
> am I right? In their web page (http://www.jcraft.com/jsch/) they say
> that JSch has support for "connection through HTTP proxy", so the
> support is there, it just have to be activated, anybody knows how?
>
> 2005/11/2, Stevenson, Chris <[EMAIL PROTECTED]>:
> > We use putty for SSH through a proxy server also, I don't think you are
> > speaking http per-se. All that's happening is you are asking your proxy
> > server do do the connection for you (as you're not allowed out on that port)
> >
> > Like so:
> >                          ssh protocol
> > ssh protocol
> > Your machine:someport <--------> 80: Proxy Server, Proxy Server:someport
> > <-------> Target Machine:22 (ssh)
> >
> > Proxy server is just the middle man to punch a hole in firewall.
> >
> > That's my 2 cents anyhows. You may speak http to the proxy but I would be
> > surprised.
> >
> > Chris
> >
> > -----Original Message-----
> > From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
> > Sent: 02 November 2005 09:10
> > To: Maven Users List
> > Subject: Re: SSH proxy for deployments
> >
> > Well, I don't know that much about proxies, but I'm using PuTTY, and in the
> > Proxy type option I have HTTP selected.
> >
> > 2005/11/2, Brett Porter <[EMAIL PROTECTED]>:
> > > How is it possible to use SSH over HTTP?
> > >
> > > - Brett
> > >
> > > On 11/2/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:
> > > > No, it's an HTTP proxy
> > > >
> > > > 2005/10/31, Brett Porter <[EMAIL PROTECTED]>:
> > > > > Not over SSH, no. Is it a SOCKS proxy?
> > > > >
> > > > > - Brett
> > > > >
> > > > > On 10/28/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]>
> > wrote:
> > > > > > Does Maven use the proxy defined in settings.xml for SSH
> > connections?
> > > > > > I've successfully deployed sites and artifacts inside my LAN,
> > > > > > but as soon as I try to do the same for a computer outsite the
> > > > > > LAN, I get a connection time out. Of course I've tried to
> > > > > > connect to those hosts using an SSH client with no problem.
> > > > > >
> > > > > > TIA, best regards
> > > > > > Jose
> > > > > >
> > > > > > ----------------------------------------------------------------
> > > > > > ----- To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > >
> > > > > ------------------------------------------------------------------
> > > > > --- To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > > --------------------------------------------------------------------
> > > > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > --------------------------------------------------------------------------------
> > The information contained herein is confidential and is intended solely for 
> > the
> > addressee. Access by any other party is unauthorised without the express
> > written permission of the sender. If you are not the intended recipient, 
> > please
> > contact the sender either via the company switchboard on +44 (0)20 7623 
> > 8000, or
> > via e-mail return. If you have received this e-mail in error or wish to 
> > read our
> > e-mail disclaimer statement and monitoring policy, please refer to
> > http://www.drkw.com/disc/email/ or contact the sender. 3166
> > --------------------------------------------------------------------------------
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to