Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel excel 2003 firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery router safe mode screen slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
always-on ssh tunnel

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
moebius's Avatar
Computer Specs
Senior Member with 1,767 posts.
 
Join Date: Oct 2003
Location: Dubai, UAE
Experience: sudo give me your money
22-Dec-2008, 01:45 PM #1
always-on ssh tunnel
hi

i currently use ssh tunneling in order to route all my internet traffic through a vps.

i connect via ssh with all the default options to a vps, binding port 1080 on my machine to the ssh connection. i then set firefox's proxy to localhost:1080 (socks)

there's a tiny problem here. i have to restart the ssh tunnel all the time, especially every time i restart or when i bring the computer out of standby or hibernate. this can get annoying.

short of getting off my *** and writing a script, is there anyway to implement an always on ssh connection?

note: i have root privileges on the vps, but my provider doesn't allow me to host a proxy.

thanks
__________________
Think for yourself
Question authority
Throughout human history, as our species has faced the frightening, terrorizing fact that we dont know who we are or where were going in this ocean of chaos, its been the authorities, the political, religious, educational authorities who attempted to comfort us by giving us order, rules, regulations, forming in our minds their view of reality. To think for yourself you must question authority and put yourself in a state of vulnerable open-mindedness.
O111111O's Avatar
Computer Specs
Senior Member with 896 posts.
 
Join Date: Aug 2005
Location: Right here.
Experience: 31337
27-Dec-2008, 08:30 PM #2
Why not just create an alias in bashrc?
Closed Thread Bookmark and Share

Tags
socks proxy, ssh, tunneling

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 02:43 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.