Jay Taylor's notes

back to listing index

How to disconnect specific ssh client from ssh server in linux? - Ask Ubuntu

[web search]
Original source (askubuntu.com)
Tags: SSH linux howto force-client-disconnect askubuntu.com
Clipped on: 2024-02-13

Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.

Sign up to join this community
Image (Asset 1/18) alt=

I just discovered you can combine steps 1 and 2 by giving who the -u flag; the PID is the number off to the right:

> who -u
mmrozek  tty1         Aug 17 10:03 09:01        9250
mmrozek  pts/18       Aug 17 10:09 01:46       19467 (:pts/2:S.0)
answered Mar 16, 2021 at 13:28
mit
2,12144 gold badges2121 silver badges2323 bronze badges

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .

Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under CC BY-SA. rev 2024.2.12.4680

Ubuntu and the circle of friends logo are trade marks of Canonical Limited and are used under licence.