Re: Port forwarding and PC listening question

From: Joe Smith (jms_at_instantis.com)
Date: 01/15/04

  • Next message: Jeff Davis: "Re: VERY slow file listing with sftp"
    Date: Wed, 14 Jan 2004 17:21:09 -0800
    To: Roy Hampton <Roy.W.Hampton@nasa.gov>
    
    

    On Tue, Jan 13, 2004 at 10:20:24AM -0800, Roy Hampton wrote:
    > ssh -l username -X -v -v -v -Lwin_port:host:host_port host, where win_port
    >
    > "debug1: Connections to local port xxxx forwarded to remote address
    > host:host_port"
    > "debug1: Local forwarding listening on 127.0.0.1 port win_port"

    The default for -L is to listen on win_port on host 127.0.0.1 only.

    The -g option is what is needed to have it listen on all IP addresses
    assigned to your Windows machine. The disadvantage is that anyone
    on your LAN can now go through your ssh connection.
            -Joe

    -- 
    Joe Smith <jms@instantis.com>  408-732-8800 x231 (fax: 408-732-8100)
    Instantis, Inc.  913 Hermosa Court, Sunnyvale, CA 94085
    

  • Next message: Jeff Davis: "Re: VERY slow file listing with sftp"