Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > SSH ideas...

SSH ideas...
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2003
Status: Offline
Reply With Quote
Jan 18, 2004, 04:28 PM
 
i often go wireless on campus with my 12" powerbook. most every protocol is blocked except for http, https, and ssh.

as a result i have a rather unique set-up that requires me to establish two SSH tunnels -- to my POP3 and SMTP server -- in order to download my mail.

it's getting to be a bit of a pain. i copy the (lengthy) commands from a textedit document into a terminal window and execute them from there.

i'm wondering if anyone has found an easier way to do this. i would prefer something graphical or simple that would remember my root password and the password for the account on my mail server. "one click" ssh tunnelling in other words.
     
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status: Offline
Reply With Quote
Jan 18, 2004, 04:46 PM
 
You could set up a shell alias to your long commands (although it would be unwise to hardcode passwords into a file on disk).

There is also a GUI SSH tunneling program recently released for Mac OS X. I can't remember the name of it, but i saw it on versiontracker the other day.
     
Mac Elite
Join Date: May 2001
Location: Earth
Status: Offline
Reply With Quote
Jan 18, 2004, 04:47 PM
 
I don't see why you need your root password to do ssh tunneling... maybe I'm missing something. Adding your ssh key in .ssh/known_hosts will allow you to ssh to the remote host without entering your password.

Then, you just have to copy your ssh command to establish the tunnel in a .command file, and double click on it from the finder.
     
Fresh-Faced Recruit
Join Date: Apr 2003
Status: Offline
Reply With Quote
Jan 18, 2004, 04:55 PM
 
under OS X it seems that ports 21 and 110 are "privileged," maybe i'm missing something too, but i'm fairly certain the system has control of these by default.

i like your suggestion, that's exactly the kind of thing i'm trying to achieve. i'll see what I can do...
     
Mac Elite
Join Date: Nov 2001
Status: Offline
Reply With Quote
Jan 18, 2004, 04:57 PM
 
The GUI method would involve SSH Tunnel Manager.

pat++'s idea is another good way.
     
Mac Enthusiast
Join Date: Dec 2000
Location: Germany
Status: Offline
Reply With Quote
Jan 18, 2004, 04:57 PM
 
Originally posted by fldsfslmn:
as a result i have a rather unique set-up that requires me to establish two SSH tunnels -- to my POP3 and SMTP server -- in order to download my mail.

it's getting to be a bit of a pain. i copy the (lengthy) commands from a textedit document into a terminal window and execute them from there.

i'm wondering if anyone has found an easier way to do this.
Try fugu - it's a good GUI sFTP/scp Client and can establish ssh tunnels (and has a good how to in it's help file).

http://rsug.itd.umich.edu/software/fugu/

(and no - there is no need for a root password to crate a ssh tunnel)
     
Mac Enthusiast
Join Date: Dec 2000
Location: Germany
Status: Offline
Reply With Quote
Jan 18, 2004, 05:01 PM
 
Originally posted by fldsfslmn:
under OS X it seems that ports 21 and 110 are "privileged," maybe i'm missing something too, but i'm fairly certain the system has control of these by default.
Port 21 is the standard ftp port.
Port 22 is the standard ssh port.

Port 110 is used by POP.

If you use a port to tunnel ssh, better use some very high port numbers.
     
Mac Elite
Join Date: May 2001
Location: Earth
Status: Offline
Reply With Quote
Jan 18, 2004, 05:10 PM
 
Originally posted by fldsfslmn:
under OS X it seems that ports 21 and 110 are "privileged," maybe i'm missing something too, but i'm fairly certain the system has control of these by default.
Actually, you do not need the local ports to match the real ports on the remote server.
Just use unprivileged ports, and set them accordingly in Mail.app's preferences...
That way, you don't need to be root.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:44 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2