AW: tcpforwarding under NT

Mag. M. Faffelberger m.faffelberger@crp.at
Wed Feb 28 07:43:00 GMT 2001


hi,

unfortunately this doesn't work neither. maybe i describe the situation more
exactly:

- on the server the sshd runs
- another machine has to establish a connection
- when connecting, it shall open a tunnel on a port (e.g. 10000)
- on that port i have to establlich a tcp-forwarding connection
- over that port, an application on the server has to exchange information
with the client

in the ssh-manual this feature is described with the option -R:
...
     -R  port:host:hostport
             Specifies that the given port on the remote (server) host is to
             be forwarded to the given host and port on the local side.
This
             works by allocating a socket to listen to port on the remote
             side, and whenever a connection is made to this port, the
connec-
             tion is forwarded over the secure channel, and a connection is
             made to host port hostport from the local machine.  Port
forward-
             ings can also be specified in the configuration file.
Privileged
             ports can be forwarded only when logging in as root on the
remote
             machine.
...

so i tried "ssh -f -n -R 10000:host:port user@host"./sleep 3600" ", for
establishing a connection for 3600 seconds.

what else do i have to configure ind the sshd_config or ssh_config.

any help would be very kind, cause i don't know what to do else.

matthias


-----Ursprungliche Nachricht-----
Von: cygwin-owner@sources.redhat.com
[ mailto:cygwin-owner@sources.redhat.com]Im Auftrag von Corinna Vinschen
Gesendet: Mittwoch, 28. Februar 2001 13:57
An: cygwin@cygwin.com
Betreff: Re: tcpforwarding under NT


On Wed, Feb 28, 2001 at 12:22:06PM +0100, Mag. M. Faffelberger wrote:
> then i tried:
> ssh -f -n -R 10000:host:port user@host"./sleep 3600"
>
> but there was no port 10000 opened on my system.

AFAICS you want to use -L.

  ssh -L 10000:host:port user@host...

Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list