Remote port forwarding problems

Markus Friedl markus.friedl at informatik.uni-erlangen.de
Fri Oct 13 20:12:15 EST 2000


-R is not yet supported for SSH-2 (but will be soon).

On Thu, Oct 12, 2000 at 12:20:25PM -0600, Brian Olsen wrote:
> I've been trying to get remote port forwarding to work between redhat
> 6.2 boxes
> using openssh 2.2.0p1.  One box is running the stock kernel, the other
> is running
> 2.4.0-test9 currently.
> 
> The command I type is:
> 
> ssh -v -R 8080:localhost:8080 <remote machine>
> 
> I've also used the machine name and ip address for the local machine.
> 
> The -v shows these curious messages:
> 
> debug: read DSA private key done
> debug: sig size 20 20
> debug: ssh-userauth2 successfull
> debug: no set_nonblock for tty fd 4
> debug: no set_nonblock for tty fd 5
> debug: no set_nonblock for tty fd 6
> debug: channel 0: new [client-session]
> debug: send channel open 0
> debug: Entering interactive session.
> 
> The no set_nonblock, is that an indication?
> 
> here's the output with
> 
> ssh -v -R 8080:localhost:8080 <remote machine> -L 8081:localhost:8081
> 
> debug: ssh-userauth2 successfull
> debug: Connections to local port 8081 forwarded to remote address
> localhost:8081
> socket: Invalid argument
> debug: Local forwarding listening on 127.0.0.1 port 8081.
> debug: fd 7 setting O_NONBLOCK
> debug: channel 0: new [port listener]
> debug: no set_nonblock for tty fd 4
> debug: no set_nonblock for tty fd 5
> debug: no set_nonblock for tty fd 6
> debug: channel 1: new [client-session]
> 
> The local port forwarding seems to work even with the complaint.
> 
> Thanks,
> Brian
> 
> bolsen at pixxures.com
> 





More information about the openssh-unix-dev mailing list