Re: ssh tunnel problems

2008-06-24 Thread Rick Bilonick
On Tue, 2008-06-24 at 00:35 -0400, Rick Bilonick wrote: On Mon, 2008-06-23 at 16:35 -0500, Kevin Martin wrote: I don't see this as confusing: (on my.work.server which is behind a firewall that blocks incoming ssh but not outgoing ssh) ssh -R 2022:my.work.server:22

Re: ssh tunnel problems

2008-06-24 Thread Jonathan Underwood
2008/6/24 Rick Bilonick [EMAIL PROTECTED]: I haven't followed this thread closely but... On the server that does not work do you know if the line AllowTcpForwarding yes is present in /etc/ssh/sshd_config ? --Mike I checked and it was set to no but commented. I set it to yes and

Re: ssh tunnel problems

2008-06-23 Thread Rick Bilonick
On Mon, 2008-06-23 at 13:06 -0400, Rick Bilonick wrote: How do you explain that this works fine when going from my home computer to an account on my ISP's computer? I followed an example posted on the web (which DID have one mistake in using localhost which I corrected - but the other use of

Re: ssh tunnel problems

2008-06-23 Thread Mike
On Mon, 23 Jun 2008, Rick Bilonick wrote: On Mon, 2008-06-23 at 13:06 -0400, Rick Bilonick wrote: How do you explain that this works fine when going from my home computer to an account on my ISP's computer? I followed an example posted on the web (which DID have one mistake in using

Re: ssh tunnel problems

2008-06-23 Thread Kevin Martin
Rick Bilonick wrote: On Sun, 2008-06-22 at 17:36 +0930, Tim wrote: On Sat, 2008-06-21 at 19:34 -0400, Rick Bilonick wrote: What on the work server could be preventing the reverse tunnel from working? On the server I do use hosts.allow to only allow ssh from my home computer. Could

Re: ssh tunnel problems

2008-06-23 Thread Rick Bilonick
On Mon, 2008-06-23 at 14:10 -0700, Mike wrote: On Mon, 23 Jun 2008, Rick Bilonick wrote: On Mon, 2008-06-23 at 13:06 -0400, Rick Bilonick wrote: How do you explain that this works fine when going from my home computer to an account on my ISP's computer? I followed an example posted on

Re: ssh tunnel problems

2008-06-23 Thread Rick Bilonick
On Mon, 2008-06-23 at 16:35 -0500, Kevin Martin wrote: I don't see this as confusing: (on my.work.server which is behind a firewall that blocks incoming ssh but not outgoing ssh) ssh -R 2022:my.work.server:22 [EMAIL PROTECTED] where my.work.server is the IP

Re: ssh tunnel problems

2008-06-22 Thread Tim
Tim: You're playing with the local loopback device. 127.0.0.1 is the traditional IP address for it, and localhost is the traditional hostname for it. Patrick O'Callaghan: Not just traditional, it's a required standard (the IP at least). On a variety of systems, 127.0.0.x (where x can be

Re: ssh tunnel problems

2008-06-22 Thread Tim
On Sat, 2008-06-21 at 19:34 -0400, Rick Bilonick wrote: What on the work server could be preventing the reverse tunnel from working? On the server I do use hosts.allow to only allow ssh from my home computer. Could this possibly prevent the reverse tunnel from working? Or is the problem on my

Re: ssh tunnel problems

2008-06-21 Thread Rick Bilonick
On Fri, 2008-06-20 at 23:01 -0500, Kevin Martin wrote: Rick Bilonick wrote: I'm using Fedora 8 on a server behind a firewall (with incoming ssh blocked) and my computer at home. I did the following on the server: ssh -R 5000:localhost:22 [EMAIL PROTECTED]

Re: ssh tunnel problems

2008-06-21 Thread Rick Bilonick
On Sat, 2008-06-21 at 10:22 -0400, Rick Bilonick wrote: On Fri, 2008-06-20 at 23:01 -0500, Kevin Martin wrote: Rick Bilonick wrote: I'm using Fedora 8 on a server behind a firewall (with incoming ssh blocked) and my computer at home. I did the following on the server:

Re: ssh tunnel problems

2008-06-21 Thread Tim
On Sat, 2008-06-21 at 10:22 -0400, Rick Bilonick wrote: [EMAIL PROTECTED] ~]$ ssh [EMAIL PROTECTED] -p 5000 -v OpenSSH_4.7p1, OpenSSL 0.9.8b 04 May 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to localhost [127.0.0.1] port 5000.

Re: ssh tunnel problems

2008-06-21 Thread Patrick O'Callaghan
On Sun, 2008-06-22 at 02:55 +0930, Tim wrote: Again, don't fall down the looking in the mirror trap by trying to connect to 127.0.0.1. That's the numerical address for a machine to refer to itself. You're playing with the local loopback device. 127.0.0.1 is the traditional IP address for

Re: ssh tunnel problems

2008-06-21 Thread Kevin Martin
Rick Bilonick wrote: On Fri, 2008-06-20 at 23:01 -0500, Kevin Martin wrote: Rick Bilonick wrote: I'm using Fedora 8 on a server behind a firewall (with incoming ssh blocked) and my computer at home. I did the following on the server: ssh -R 5000:localhost:22 [EMAIL

Re: ssh tunnel problems

2008-06-21 Thread Rick Bilonick
On Sun, 2008-06-22 at 02:55 +0930, Tim wrote: On Sat, 2008-06-21 at 10:22 -0400, Rick Bilonick wrote: [EMAIL PROTECTED] ~]$ ssh [EMAIL PROTECTED] -p 5000 -v OpenSSH_4.7p1, OpenSSL 0.9.8b 04 May 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for *

Re: ssh tunnel problems

2008-06-21 Thread Rick Bilonick
On Sat, 2008-06-21 at 19:34 -0400, Rick Bilonick wrote: On Sun, 2008-06-22 at 02:55 +0930, Tim wrote: On Sat, 2008-06-21 at 10:22 -0400, Rick Bilonick wrote: [EMAIL PROTECTED] ~]$ ssh [EMAIL PROTECTED] -p 5000 -v OpenSSH_4.7p1, OpenSSL 0.9.8b 04 May 2006 debug1: Reading configuration

ssh tunnel problems

2008-06-20 Thread Rick Bilonick
I'm using Fedora 8 on a server behind a firewall (with incoming ssh blocked) and my computer at home. I did the following on the server: ssh -R 5000:localhost:22 [EMAIL PROTECTED] which connected to my home computer after I entered the password. (I could list files, etc.) I also set up

Re: ssh tunnel problems

2008-06-20 Thread Kevin Martin
Rick Bilonick wrote: I'm using Fedora 8 on a server behind a firewall (with incoming ssh blocked) and my computer at home. I did the following on the server: ssh -R 5000:localhost:22 [EMAIL PROTECTED] which connected to my home computer after I entered the password. (I could list