Close a remote SSH session

To close all SSH sessions of a given user :

skill -KILL -u username

You can list connected users with the who command.

post a comment