[ale] ssh -R (was Re: Have I been hacked?)

Mark Wright mark_wright at bellsouth.net
Fri Jan 9 10:54:42 EST 2009


Chris from your article, the command, ssh -nNT -R 1100:local:22 remote

Is "remote" the address of the offsite computer?

My problem is both computers are usually behind a router or the  
remote computer's ip is unknown.  Can this work if you don't know the  
IP you are sshing from?


On Jan 9, 2009, at 9:40 AM, Chris Kleeschulte wrote:

> I use -R extensively to open "holes" in a firewall. It works nicely
> since I have to deal with customers that are behind nat devices all
> the time and I cannot or will not login to the admin  account on the
> router.
>
>
> I just email them a small program that does this. I wrote an article
> on this:
>
>
> http://kleeschulte.blogspot.com/2007/09/how-to-create-reverse-ssh- 
> tunnel.html
>
>
>
>
>
>
> Chris
>
> On Jan 9, 2009, at 9:11 AM, Ed Cashin wrote:
>
>> On Thu, Jan 8, 2009 at 9:54 PM, JK <jknapka at kneuro.net> wrote:
>>> Jim Popovitch wrote:
>>>> Be aware that VNC doesn't encrypt your IP traffic, so everything  
>>>> you
>>>> do via VNC can be seen by others on the same network(s).
>>>
>>> ... so tunnel your VNC sessions over an SSH connection:
>>>
>>>  ssh -L 5910:localhost:5901 myTargetHost
>>>  vncviewer localhost:5910
>>
>> Digressing ... I've never gotten it to work the other way.  Using
>> "-L" works, but I don't think I've ever been successful in my
>> attempts to use "-R".  Does anybody here use "-R" a lot?
>>
>> -- 
>>  Ed Cashin <ecashin at noserose.net>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20090109/adaa3d3a/attachment.html 


More information about the Ale mailing list