[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with ssh tunneling



Hi,

I've checked that option in my configuration file, and it's set:
"AllowTcpForwarding yes". I attach the complete trace, running forwarding
with -v option:

 debug1: Connection to port 1234 forwarding to localhost port 22 requested.
debug1: fd 10 IS O_NONBLOCK
debug1: fd 10 IS O_NONBLOCK
debug1: channel 2: new [listen port 1234 for localhost port 22, connect from
localhost port 37592]
channel_open_failure: 2: reason 1: open failed
debug1: channel_free: channel 2: status: The following connections are open:
  #1 client-session (t4 r0 i1/0 o16/0 fd 6/7)
  #2 listen port 1234 for localhost port 22, connect from localhost port
37592 (t3 r-1 i1/0 o16/0 fd 10/10)

This is what I get when I try to telnet localhost on port 1234 once the
tunnel is open.

thanx a lot 


Greg Norris-2 wrote:
> 
> On Thu, Nov 30, 2006 at 08:30:12AM -0800, Gonzalo wrote:
>> but when I telnet to my local 1234 port, I get this error:
>> 
>> channel_open_failure: 2: reason 1: open failed
>> 
>> Any ideas about what it means?
> 
> Are you sure that forwarding is allowed by the server?  It can be 
> disabled via the "AllowTcpForwarding no" directive in 
> /etc/ssh/sshd_config.  Not that this restriction is particularly 
> meaningful, as it turns out, but that's another topic.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-ssh-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problems-with-ssh-tunneling-tf2732705.html#a7636525
Sent from the debian-ssh mailing list archive at Nabble.com.



Reply to: