Debug server prints debug messages on client
petesea at bigfoot.com
petesea at bigfoot.com
Thu Jun 4 05:04:16 EST 2009
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
More information about the openssh-unix-dev
mailing list