Solved

Automatically re-SSH when network is available?

Posted on 2009-04-07
1
465 Views
Last Modified: 2012-08-14
As the title says.  I frequently move from different locations and plug in or use wireless (sometimes 5X/day) and I'd like some type of solution that automatically SSHs when the connection is available.  I use an SSH tunnel for some traffic + connecting to my home network so this is very valuable.

Currently I have a script which opens terminal + SSHs to 2 servers (I use the public key authentication so I don't have to login).  But this still requires me to close terminal, then run the script again (which the AppleScript still takes 2-8 seconds to open sometimes).

Is there a solution for this?  Some type of persistent-SSH connection keeper?

Thanks!
0
Comment
Question by:Geesu
1 Comment
 

Accepted Solution

by:
Geesu earned 0 total points
ID: 24092154
And of course I answer my own question...

http://jonsview.com/2009/03/01/how-to-automatic-ssh-tunnel
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Yesterday Apple introduced their revolutionary new iOS 5 operating system that claims to be the ultimate mobile technology interface. One of the biggest innovations of the new operating system is the introduction of the iCloud computing network. Thi…
A common question or need, when setting-up a new Mac for someone would be to make all of the applications, installed, available from the dock. Many people often do not realize an application is installed unless it is in the dock. Creating a custo…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now