How to set SSH idle timeout on Ubuntu 22.04
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=WE6Ys5x57MQ
In this video i will show you how to configure idle timeout for SSH on Ubuntu 22.04
sudo vi /etc/profile.d/autologout.sh
#!/bin/sh
10 seconds
TMOUT=10
readonly TMOUT
export TMOUT