Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Tabbed Terminal alternative' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Tabbed Terminal alternative
Authored by: Wazzoo on May 03, '06 05:00:46PM

Actually, having posted that comment, I did work out what was wrong.

Although iTerm can do it for you, it has a setting that tells it to send a null character every few minutes, the other way to do it is to edit the /edc/ssh_config file and add a line that says:

ServerAliveInterval 300

And that will do the quivalent...every five minutes it will send a few packets to keep the connection alive.

The reason the connection can drop is either due to the ssh server or due to firewall/router inbetween that sees and idle connection and kills it. Doing the above fixes it, although its a bit of a pain as you have to start mucking around with system files.

With that now set..Terminator is fast and has tabs and my ssh connectons stay alive. Just what I was looking for! :)



[ Reply to This | # ]
Tabbed Terminal alternative
Authored by: Shawn Parr on May 03, '06 05:22:20PM
Don't edit the /etc/ssh_config file.

If you do a man ssh_config you will see that you can also put a file called ~/.ssh/config that allows you to put in overrides for what is in the /etc/ssh_config file. So create that file and add whatever options you want to have for your account, then after a system upgrade your changes will still be around unlike if you edited the system wide file and Apple replaces it.

[ Reply to This | # ]

Tabbed Terminal alternative
Authored by: Wazzoo on May 04, '06 07:38:34AM

Ah, very useful! Thanks for that...i'll make the changes on mine.



[ Reply to This | # ]