
ssh:ai:7e677
close ssh connection after 30 minutes
$ ssh -o ServerAliveInterval=1800 user@hostname
try on your machine
This command sets the ServerAliveInterval to 1800 seconds (30 minutes) which will keep the ssh connection open by sending a null packet every 30 minutes
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- close ssh connection after 30 minutes?