LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-25-2009, 10:03 AM   #1
careykwong
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
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
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:
Code:
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
careykwong
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...
 
  


Reply


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 06:43 AM.

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