Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-16-2003, 04:11 PM   #1
Registered: Nov 2003
Location: Los Angeles
Distribution: Gentoo, FC4, FreeBSD
Posts: 34

Rep: Reputation: 15
Automatic SSH Tunnels

I subscribe to the Anonymizer SSH tunneling service. It comes with a nice Windows app that logs you into their SSH server and sets up a tunnel whenver you try to access the internet. It sits in the system tray and loads with Windows, so it's really configure-and-forget. Unless you run Linux

Is there an easy way to setup an SSH tunnel during boot or automatically when needed? I've tried telling SSH to fork into the background (with a command line switch) but it closes the session after issuing a command. I can't cntrl+Z either because that just sends a cntrl+Z. I also can't figure out how to automate it with a service script because it requires typing a password (no authorized_key stuff becuase I don't get a terminal) and I can't get bash scripts to do that.

I'm running 2.6.0-0.test9.1.87 on Fedora Core 1.
Old 12-04-2003, 11:36 PM   #2
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
hmmm, maybe you should try using keys as authentification instead of password, I don't know if Anonymzer allows that though.


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-Tunnels, Firewall, VNC bojo Linux - Security 3 03-16-2006 05:08 AM
Server Defined SSH Tunnels dlublink Linux - Software 1 09-29-2005 08:11 PM
Automatic SSH tunnel for laptop ming0 Linux - Networking 1 02-26-2005 12:00 AM
Creating a router out of SSH Tunnels. Technoslave Linux - Networking 1 10-04-2004 06:07 PM
SSH tunnels and VNC, yet again. Edaph Linux - Security 7 05-23-2004 09:55 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:31 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
Open Source Consulting | Domain Registration