LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   access ssh from mac to linux, will it be frozen if timeout (https://www.linuxquestions.org/questions/linux-networking-3/access-ssh-from-mac-to-linux-will-it-be-frozen-if-timeout-757717/)

careykwong 09-25-2009 09:03 AM

access ssh from mac to linux, will it be frozen if timeout
 
I connect the mac terminal to linux ssh. After I stay online for a while and the terminal will be frozen. Is that my mac problem or my server problem?

anomie 09-25-2009 12:42 PM

If you're passing through a NAT device (i.e. your home router?) along the way, then that's likely the cause.

For an OpenSSH client, I solve that problem with the following directive in ~/.ssh/config:
Code:

ServerAliveInterval 45
Check your Mac ssh client for some sort of "keep alive" functionality and enable it.

careykwong 09-25-2009 07:02 PM

Thanks a lots
 
I will try this out. Luckily not my mac broken or have virus...


All times are GMT -5. The time now is 02:04 PM.