delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/04/17:36:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4161C240.6090903@overbored.net>
Date: Mon, 04 Oct 2004 14:36:00 -0700
From: overbored <overbored AT overbored DOT net>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Help disconnecting SSH sessions
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server883.dnslive.net
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - overbored.net
X-Source:
X-Source-Args:
X-Source-Dir:

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019