12345
# to set it globallyecho 'ServerAliveInterval 60' >> /etc/ssh/ssh_config# For per-user configurationecho 'ServerAliveInterval 60' >> ~/.ssh/config