From: Todd on
Hi All,

Since I have ssh on the mind ...

I was speaking to a tech support guy and he
said they had their customers ssh into them,
then they reversed down the tunnel to assist
their customer with their program. They said
they did this to get around their customers
firewalls.

Okay, other than the obvious security concerns of
your customers having the ability to access your
computer at will, what was he talking about?
How can you reverse down an ssh tunnel?

Many thanks,
-T
From: David W. Hodgins on
On Sun, 20 Jun 2010 22:10:46 -0400, Todd <todd(a)invalid.com> wrote:

> How can you reverse down an ssh tunnel?

I've never used it, but you can find info at
http://www.howtoforge.com/reverse-ssh-tunneling

Regards, Dave Hodgins

-- Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
From: Todd on
On 06/20/2010 07:24 PM, David W. Hodgins wrote:
> On Sun, 20 Jun 2010 22:10:46 -0400, Todd <todd(a)invalid.com> wrote:
>
>> How can you reverse down an ssh tunnel?
>
> I've never used it, but you can find info at
> http://www.howtoforge.com/reverse-ssh-tunneling
>
> Regards, Dave Hodgins
>
> -- Change nomail.afraid.org to ody.ca to reply by email.
> (nomail.afraid.org has been set up specifically for
> use in usenet. Feel free to use it yourself.)

Thank you!
-T
From: unruh on
On 2010-06-21, David W. Hodgins <dwhodgins(a)nomail.afraid.org> wrote:
> On Sun, 20 Jun 2010 22:10:46 -0400, Todd <todd(a)invalid.com> wrote:
>
>> How can you reverse down an ssh tunnel?
>
> I've never used it, but you can find info at
> http://www.howtoforge.com/reverse-ssh-tunneling
>

Also try autossh.
This willll try to make sure that the connection stays open
Thus
autossh -f -N -M 0 -R 8032:localhost:22 remotehost.domain.edu
will open up an ssh tunnel on remotehost, whcih you access by doing
ssh localhost -P 8032
on that remotehost.
This will back tunnel the ssh from the remotehost to port 22 over that
opened ssh connection.
autossh is just a wrapper around ssh to make sure that the ssh
connection remains open (eg sometimes that ssh connection may break
down)

The ssh command run by autossh is
/usr/bin/ssh -N -R 8032:localhost:22 remotehost.domain.edu


From: Todd on
On 06/21/2010 02:20 AM, unruh wrote:

> Also try autossh.
> This willll try to make sure that the connection stays open
> Thus
> autossh -f -N -M 0 -R 8032:localhost:22 remotehost.domain.edu
> will open up an ssh tunnel on remotehost, whcih you access by doing
> ssh localhost -P 8032
> on that remotehost.
> This will back tunnel the ssh from the remotehost to port 22 over that
> opened ssh connection.
> autossh is just a wrapper around ssh to make sure that the ssh
> connection remains open (eg sometimes that ssh connection may break
> down)
>
> The ssh command run by autossh is
> /usr/bin/ssh -N -R 8032:localhost:22 remotehost.domain.edu


Ah! Keep Alives for ssh. Thank you!

-T