I'm connecting to a server via SSH and sometimes it freezes for some minutes, then throws the 'pipe broken' message and returns to my console. When I log in again and do a who, I still see that the user is logged in, and these keep piling up. How do I kill them? I'm logging in as root every time.
|
| |||
feedback
|
|
In short, just kill the PID of the corresponding SSH session: Find logged in users and TTYs:
Get matching PID (in this case, matching pts/1):
Terminate process (in this case 11575, above):
| |||
|
feedback
|