Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

2 Answers 2

up vote 3 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
add comment
# ps -ea | grep username

kill -9 id's
share|improve this answer
add comment

Your Answer

 
discard

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.