not sure if I'm using the right terms :
I am working with mac-os local machine , inside this machine I'm opening a ssh remote connection to a remote linux machine via terminal.
Problem: after some amount of time, this connection is automatically get closed.
which parameter controls this behavior? Is the change needed on local or remote machine ?