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: X forward and OpenSSH

Subject: Re: X forward and OpenSSH
Date: Wed, 5 Jan 2005 21:20:27 +0200 (IST)
On Mon, 3 Jan 2005, Benoit Galarneau wrote:

Here is a simple question concerning port forward. I try to understand
why a "ssh -X" is working and why "ssh -R 6010:127.0.0.1:6000" is not
working:

$ ssh -v -x -R 6010:localhost:6000 benoit@localhost
$ export DISPLAY=localhost:10.0
$ xclock

Works perfectly for me. Probably you do not have X-server listening
on a tcp socket (it was started with -nolisten tcp)? Check that
$ netstat -an | grep 6000
tcp        0      0 0.0.0.0:6000     0.0.0.0:*  LISTEN

Another possibility (if you do not share home dir with benoit) is
that xauth is not managed propertly (but likely it is not the case
since you can't connect at all).

-- 
Regards,
ASK

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