This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Suspicious sshd log messages (sshd works)


Never thought I'd be asking questions about sshd, but here we go: I've
finally gotten around to setting up an ssh server on my machine (Win2k
SP2, using openssh-3.5p1-3, cygwin1.dll compiled from CVS yesterday).
I can just hear the groans of ssh experts, so, before I go into details,
*it seems to work*.  I'm able to log in via "ssh igor@localhost".

Now that that's out of the way...  I've set up the sshd service using
/bin/ssh-host-config, enabling privilege separation (with the user "sshd"
and all that). I then manually re-run cygrunsrv as follows

$ cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a "-De" -e "CYGWIN=check_case:strict ntsec notitle binmode nosmbntsec notty"

to get logging to /var/log/sshd.log.  The CYGWIN value above is the one I
use for the shell as well.  Looking at the log, I see very suspicious
"Failed to disconnect from controlling tty." upon login, and
"syslogin_perform_logout: logout() returned an error" upon logout.

The sessions seem to work otherwise.  My question is: should I be worried
about these messages?  If yes, what should I do to get rid of them?

I'm not sure what other info would be relevant.  Just in case, the output
of "cygcheck -svr" is attached.  I can also send the relevant logs if
needed.  Thanks,
P.S. Running sshd with -Dddde didn't produce any useful info.  Also, the
value of UsePrivilegeSeparation in /etc/sshd_config doesn't seem to make
any difference for this.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune

Attachment: cygcheck-20030208.txt
Description: Text document

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]