I have trouble keeping my ssh connection from my Mac to the router alive. It stays connected for only about 30 seconds if I leave it idle, as you can see below (the timing includes the time to enter password):
I am experimenting with some scripts so I really need a long running session. This is not an issue with my ssh client, as I connect to several ssh servers at work over VPN and don't have any problem with having them stay connected for days.
I wanted to check if there is a
Code:
$ time ssh admin@192.168.1.5
admin@192.168.1.5's password:
ASUSWRT-Merlin RT-AC68U 384.19_0 Fri Aug 14 19:17:44 UTC 2020
admin@RT-AC68U-E770:/tmp/home/root# Shared connection to 192.168.1.5 closed.
real 0m42.551s
user 0m0.013s
sys 0m0.009s
I wanted to check if there is a
sshd_config
sort of a file somewhere, but not sure where to look. Could someone please help?