148
rated 0 times
[
148]
[
0]
/ answers: 1 / hits: 89615
/ 3 Years ago, tue, june 29, 2021, 12:51:35
From time to time, SSH sessions to my servers just freeze up and then neither Ctrl+C nor Ctrl+ do anything.
How do I quit the session without just closing the Terminal it's in?
Clarification:
The session is locked as in, no keys are transmitted to the server. I'd like to shut it down gracefully, such that the user isn't logged in anymore.
I know I can kill the SSH client, but that will, in time, make the "2 users
" info message I get from uptime
meaningless. I'd like to know how many users are really logged in.
More From » command-line