Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: ssh -R only listening on lo

Subject: Re: ssh -R only listening on lo
Date: Fri, 16 Sep 2005 11:05:27 +0200
Hello,

David Wolever schrieb:

I was playing around with `ssh -R` last night, and found                      
                                                    
that (even with -g, if that switch applies to this) ssh                       
                                                    
would only listen on the loop-back (127.0.0.1) address.                       
                                                    
This means I can't connect back down the tunnel from the
server to the client from anywhere except the server.
The command line I used was:                                                  
                                                    
ssh -vgR 8888:mylaptop:80 myserver
I looked through the verbose output and couldn't find much                    
                                                    
useful information.                                                           
                                                    

on the ssh server GatewayPorts is not set by default

in the sshd_config

GatewayPorts    yes

will help you. Another way is (e.g. if you can't modify the
sshd_config), after login do on myserver:

ssh localhost -D 8080:localhost:8888

then it works too

HTH,

Micha

<Prev in Thread] Current Thread [Next in Thread>