Using plink to reverse forward connection

From: Juan Jose Costello Levien (jclevien_at_gmail.com)
Date: 09/29/05

  • Next message: Darren Tucker: "Re: wrapper script to use cvs/scp through a ssh gateway"
    Date: 29 Sep 2005 14:56:25 -0700
    
    

    Hello,

    I am developing a system in Windows.
    This system will be installed on client machines.
    Also, bundled with the system, is a VNC server which listen to the
    standard port, 5900 on the client machine.

    What I need is the following: suppose I am the administrator of such
    system copies, and the client needs assistance, and suppose I cannot
    access the client computer because it has a firewall.
    The solution I thought was this: bundle a copy of plink with the
    system, make a TCP SSH connection with a SSH server which has a VNC
    Viewer and do a "reverse" connection, in such a way that from that
    server I can access the client machine, even if it has a firewall.

    The command I wrote for achieving this was:

    plink -ssh -R 49687:localhost:5900 user@server

    in order to connect to the client machine by simply typing in the
    server:

    vncviewer localhost:49687

    But I did the try and the connection was refused. What am i doing
    wrong?

    Thank you very much.

    Juan


  • Next message: Darren Tucker: "Re: wrapper script to use cvs/scp through a ssh gateway"

    Relevant Pages

    • Re: Stupid ATL COM Server question
      ... One way is to specify the remote server at ... registering your type library on the client machine will not ... you either have to register your ... This provides the alternate way of specifying a remote ...
      (microsoft.public.vc.atl)
    • Re: appears to loose authentication
      ... Is that on the same client machine at the time, ... I find interest in your comment earlier that if userA is seeing this problem ... an invalid DNS server in the Tcp/Ip settings. ... If this only happens when they try to access Goldmine, ...
      (microsoft.public.security)
    • RE: analysis services excel add-in and pivot tables connection issue
      ... Your password may be cached in the client machine. ... > I have analysis services on a server. ... > and Analysis services products on my machine. ... > If I go to cubeAnalysis Manage connection when I type in the server name, ...
      (microsoft.public.sqlserver.olap)
    • Re: KRB5CCNAME and sshd
      ... >> and in ssh_config on the client machine. ... SSH will delete the session cache at the end of a session ... > the UID based common cache and unsetting the KRB5CCNAME set by sshd. ... I "kinit -f" on the client box at home and then ssh to the server box ...
      (comp.protocols.kerberos)
    • Re: Pushing data from the server to the client
      ... it hits your web service or uses remoting. ... >> on the server, on your app and on the network. ... So I mocked up a facade web service on my side in .NET ... >> the remoting dll on each client machine and the stub on the server. ...
      (microsoft.public.dotnet.languages.csharp)