Close SSH connection if no key is pressed for x seconds
How to get the SSH connection to close if the session is idle (more specifically if no key is pressed for a certain ammount of time.) I use tmux so I wouldn’t lose any data if the connection closed when a process is running. Is this something I would need a wrapper script for or does OpenSSH or the alternatives have a way to automatically do this?
SSH Config for multiple users on the same host
SSH noob here. I’m having trouble create a valid SSH configuration (in ~/.ssh/config) which allows multiple users to log in to the same remote host (a VPS on Digital Ocean, in this case).