Security News > 2020 > April > How to prevent unattended SSH connections from remaining connected

How to prevent unattended SSH connections from remaining connected
2020-04-27 17:58

Preventing idle SSH sessions from remaining connected is an easy way to add a bit more security to secure shell.

Secure Shell includes a timeout feature that allows you to configure the SSH server such that it will disconnect a user, after a set period of inactivity.

What you'll need How to configure Secure Shell for timeouts on the server.

The first is to prevent idle sessions from remaining connected on the server end.

If you're of the overly cautious persuasion, you might want to prevent any client from remaining connected to any remote server, via SSH. Unfortunately, this cannot be set globally on the server, but must be taken care of on the individual clients.


News URL

https://www.techrepublic.com/article/how-to-prevent-unattended-ssh-connections-from-remaining-connected/#ftag=RSS56d97e7