Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some reason, I have a few open sessions on an SSH server that I don't know about. I assume they're leftovers from when my pipe broke.

$ users
user1 user2 user3 me me me me

Is there a way to log me out across all sessions?

share|improve this question
up vote 9 down vote accepted

You could try killing off the individual processes that are still running as you, or just purge the system of everything running as you: pkill -u username

share|improve this answer
# ps -ea | grep username

kill -9 id's
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.