Re: How to ensure ssh is working properly ?

From: Andrey Asadchev (andrey_at_asadchev.org)
Date: 05/27/03


Date: Tue, 27 May 2003 01:33:28 -0400

On 26 May 2003 22:20:45 -0700
subhfern@yahoo.com (Subhodini Fernandes) wrote:

> I have setup ssh on Solaris (OpenSSH) and on Linux I am using the
> default OpenSSH package. By doing a snoop on Solaris I can see the
> difference between plain telnet and ssh (I am using putty). I do not
> know how to check this in Linux. I cannot find the equivalent of the
> snoop comamnd using tcpdump. Please help.

I am not sure what snoop does, but may be ngrep/t?ethereal are something
like that.

> I have Exceed installed on my PC. After starting putty I export the
> DISPLAY variable and startup XTerm. On the Solaris side I have ensured
> that the sshd_config file has "X11Forwarding" set to "yes". How do I
> find out whether the XTerm traffic is acutally going over ssh ?

Exporting DISPLAY variable defeats the purpose of having SSH forward X11.
Do not set DISPLAY with ssh session if you want X11 connections to be encrypted.
start ssh with -X option and dont worry about DISPLAY variables.



Relevant Pages