Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-25-2009, 10:03 AM   #1
LQ Newbie
Registered: Sep 2009
Posts: 17

Rep: Reputation: 0
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?
Old 09-25-2009, 01:42 PM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
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:
ServerAliveInterval 45
Check your Mac ssh client for some sort of "keep alive" functionality and enable it.
Old 09-25-2009, 08:02 PM   #3
LQ Newbie
Registered: Sep 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks a lots

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH access problems: Can only allow users SSH access by adding to root group dhupke Slackware 10 12-21-2008 10:48 AM
ssh -x on a mac osx to a Linux computer 1veedo Linux - General 6 09-19-2007 06:22 PM
access linux with connected mac using terminal through ssh Ultrus Linux - Networking 5 09-17-2007 03:28 PM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 12:53 PM
Timeout when using VNC, Linux to Mac Baryonic Being Linux - Networking 2 11-05-2005 02:48 PM

All times are GMT -5. The time now is 01:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration