This is the mail archive of the cygwin 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]

Help disconnecting SSH sessions


I would like to disconnect an SSH session. My sshd is set up as a Windows service (with the help of cygrunsrv). I am also currently logged in via SSH, so I'd like to kill another specific SSH session (I know where I'm logged in from). 'w' shows the two connections - my current one and the other one (to be killed). I just don't know how to proceed from here on out. ps doesn't list the processes, and using tasklist, I have no way of associating which sshd corresponds to which connection (and in fact it looks like there are three sshd's...I'm guessing the one with the lowest PID is the service, which spawns the other sshd's). Any hints? Thanks in advance.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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