>
> can someone tell me how to get these messages to stop?
>


The problem is that you do not identify yourself according to the SSH
protocol. You should send an identifying string in the format like this:

SSH-<protocolmajor>.<protocolminor>-<version>\n

For example:

        SSH-1.5-WhatsUp\n

This will remove the problem with "fatal: Did not receive ident string." but
will instead only shuffle the problem to the next level: Since you don't do
anything after the connection identification, the server awaits your
encrypted session. If you close the connection you will get this in your
logs instead:

        "fatal: Connection closed by remote host."

And if you try to "outsmart" your SSH daemon by supplying a "to low" version
number like 0.1, it will disconnect you, but it will also log this to the
log:

        "fatal: Protocol major versions differ: 1 vs. 0"

The only way to get rid of warning messages is to do a clean and
protocol-like exit. The only way to get rid of _all_ logmessages is to
tamper with the loglevel for the daemon (and do you realy want that?).


(Sorry if i'm too confusing or unclear. More information on the protocol can
be found online:

        http://www.employees.org/~satch/ssh/faq/
        http://www.tigerlair.com/ssh/faq/ssh1-draft.txt )


regards,

/Magnus Andersson, Infogate AB


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to