[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-unix-dev
Subject:    Debug server prints debug messages on client
From:       petesea () bigfoot ! com
Date:       2009-06-03 19:04:16
Message-ID: alpine.OSX.2.00.0906031120300.475 () nikto-air
[Download RAW message or body]

If a server is started in debug mode (-ddd), it triggers a few debug 
messages to appear on the client.  Shouldn't debug messages appear on the 
client only if the client uses the -v option?

The problem is, it's often useful to start a debug server to help track 
down problems without interfering with the client... and those extra 
client-side debug messages can sometimes cause issues for things that 
indirectly run ssh (like cvs and svn) if they aren't expecting the output.

Is this a bug or is there a particular reason enabling debugging on the
server is supposed to trigger debug messages on the client?

Here's an example connection to a 5.2p1 server started with "sshd -e -D 
-p4242":

   $ ssh -p4242 127.0.0.1 'date'
   Wed Jun  3 11:47:05 PDT 2009

And to a 5.2p1 server started with "sshd -e -ddd -p4242":

   $ ssh -p4242 127.0.0.1 'date'
   Environment:
     USER=...
     LOGNAME=...
     HOME=...
     PATH=...
     MAIL=...
     SHELL=...
     SSH_CLIENT=...
     SSH_CONNECTION=...
   debug3: channel 0: close_fds r -1 w -1 e -1 c -1
   Wed Jun  3 11:47:25 PDT 2009
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic