From: David Jackson <david.jay.jackson@wcox.com>
To: "Gary E. Miller" <gem@rellim.com>
Cc: "Walsh, Ed" <ewalsh@wrenchead.com>, linux-admin@vger.kernel.org
Subject: Re: How to kill SSH sessions?
Date: Wed, 26 Jun 2002 13:21:02 -0600 [thread overview]
Message-ID: <3D1A141D.7F4F7768@wcox.com> (raw)
In-Reply-To: Pine.LNX.4.44.0206261157580.7266-100000@catbert.rellim.com
"Gary E. Miller" wrote:
> Yo Ed!
>
> Well, the BOFH just kills them all:
>
> killall sshd; sleep 20; sshd
>
Let me make sure I understand, you going to kill every ssh login on a
"production" server?
Just besure to update you resume before you do.
And of course as any Linux person worth there salt could tell you, killall -HUP
sshd would a better,
>
> Or do this to see which PID to kill
>
> pstree -pul | less
>
> Only newbies use 'ps'...
Newbie and Linux users with 7 Years experience
David
>
>
> RGDS
> GARY
> ---------------------------------------------------------------------------
> Gary E. Miller Rellim 20340 Empire Blvd, Suite E-3, Bend, OR 97701
> gem@rellim.com Tel:+1(541)382-8588 Fax: +1(541)382-8676
>
> On Wed, 26 Jun 2002, Walsh, Ed wrote:
>
> > Hi all,
> > I have one user who's been connected since May of this year. I'd like to
> > kill his SSH session but don't know how to do that. Can't seem to find
> > anything about how to do that. I've tried restarting the sshd service
> > (/sbin/service sshd restart, stop, and start) all don't make a difference.
> > Using RedHat 7.1 with OpenSSH.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2002-06-26 19:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-26 18:34 How to kill SSH sessions? Walsh, Ed
2002-06-26 18:40 ` Chris Omland
2002-06-26 18:46 ` Nathan
2002-06-26 19:00 ` Gary E. Miller
2002-06-26 19:04 ` Chris Omland
2002-06-26 19:21 ` David Jackson [this message]
2002-06-26 19:24 ` Gary E. Miller
2002-06-26 21:26 ` David Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D1A141D.7F4F7768@wcox.com \
--to=david.jay.jackson@wcox.com \
--cc=ewalsh@wrenchead.com \
--cc=gem@rellim.com \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.