ssh over http

Andrew Pantyukhin infofarmer at FreeBSD.org
Wed Nov 29 11:56:17 PST 2006


On 11/29/06, Atom Powers <atom.powers at gmail.com> wrote:
> On 11/29/06, Tom Judge <tom at tomjudge.com> wrote:
> > Atom Powers wrote:
> > > On 11/27/06, Ansar Mohammed <ansarm at gmail.com> wrote:
> > >> Hello All,
> > >> Is there any ssh over http implementation available for freebsd?
> > >
> > > That doesn't even make sense. SSH is a transport layer protocol, HTTP
> > > is an application layer protocol.
> > >
> >
> > Both HTTP and SSH are application level transports,  however both can be
> > used to tunnel TCP connections.  Therefore it is possible to use ssh
> > over http.  The windows putty client can use http proxies to make
> > outbound connections as long as your http proxy is configured to allow
> > CONNECT requests to port 22.  If you using squid for example with a
> > defaultish config you will need to update your proxy server configuration.
>
> SSH is often paired with an application, a shell, but that doesn't
> make it an application layer protocol. SSH establishes and manages a
> transport layer connection between the client and server, over which
> you can tunnel most other transport layer protocols.

You are right to a certain extent, but not enough to
make a good argument. I can't say wikipedia prides
itself on universal correctness, but still consult these
articles to clear any doubts about what layer ssh
may or may not belong to:

http://en.wikipedia.org/wiki/Ssh
http://en.wikipedia.org/wiki/Internet_protocol_suite
http://en.wikipedia.org/wiki/OSI_Model


More information about the freebsd-questions mailing list