I am using Macbook developing a client application.
I want to access server logs, so I opened a shell terminal and established a ssh connection to the server and access the log file there by executing
tail -f server.log
It works, but the remote ssh session will expire after certain amount of time, which needs me to establish the ssh connection again and access the server log file again.
How can I keep the remote session all the time without expiration?