On Wed, May 16, 2001 at 07:51:03AM -0700, Karl M wrote:
> ssh -f -L portnumber:localhost:portnumber hostname sleep 30
> 
> The hostname as the target is from my local point of view (public IP 
> address). The localhost (or other host name) is from the target's point of 
[...]

However, that works for me, too.

$ ssh -f -L 4099:localhost:25 cygbert sleep 30
$ telnet localhost 4099
Trying 127.0.0.1...
Connected to windowsbox.
Escape character is '^]'.
220 linuxbox ESMTP Sendmail 8.9.3/8.9.3/Linux sendmail 8.9.3; Wed, 16 May 2001 
17:04:17 +0200
quit
221 linuxbox closing connection
Connection closed by foreign host.
$ ssh -V
OpenSSH_2.9p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
[Wait for 30 seconds]
$ ps -e
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
      764       1     764        764    ?  100 21:20:35 /usr/bin/cygrunsrv
     1280     764     764       1244    ?  100 21:20:35 /usr/sbin/sshd
      968    1280     764        968    ?  100 22:25:42 /usr/sbin/sshd
     1592     968    1592       1128    1  100 22:25:42 /usr/bin/tcsh
     1696    1592    1696       1152    1  100 17:05:32 /usr/bin/ps
$ 

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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

Reply via email to