Re: Port forwarding and PC listening question

From: Dave Markham (dave.markham_at_fjserv.net)
Date: 01/14/04

  • Next message: John Davidorff Pell: "Re: how to copy filename with spaces using scp"
    To: <secureshell@securityfocus.com>, "Roy Hampton" <Roy.W.Hampton@nasa.gov>
    Date: Wed, 14 Jan 2004 14:29:05 -0000
    
    

    With cygwin you are not running an xserver. You will need to run
    startxwin,.sh
    this will enable an x server on your desktop and bring up a bash window. Run
    you ssh -X etc then and all should work

    Dave
    ----- Original Message -----
    From: "Roy Hampton" <Roy.W.Hampton@nasa.gov>
    To: <secureshell@securityfocus.com>
    Sent: Tuesday, January 13, 2004 6:20 PM
    Subject: Port forwarding and PC listening question

    > People:
    > I hope someone can give me a boost.
    > I am trying to use OpenSSH in cygwin environment to access unix machines
    > from a windows 2000 PC, and to use port forwarding to obtain a license for
    > operation of software using flexlm license server on the remote unix
    machine.
    >
    > I have done this just fine in the past with TTERMPRO with ttssh, using the
    > command
    > DefaultForwarding=X;Lwin_port:host:host_port where win_port is the port on
    > my windows machine, and host is the remote unix box, where the license is
    > served on host_port. I have an environment variable on my PC machine
    > "dual" which aims the licence environment variable for flexlm at
    win_port@dual
    >
    > Now, I have to convert to use SSH version 2 to access through the
    firewalls
    > at NASA, and have to change to something with SSH v2.
    >
    > I installed cygwin with OpenSSH, and have successfully connected to the
    > remote unix machine, using the ssh command:
    > ssh -l username -X -v -v -v -Lwin_port:host:host_port host, where win_port
    > is the port number on my PC, etc.
    > ssh verbose mode tells me
    >
    > "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"
    >
    > [where I replaced actual port numbers, host name, etc. in above text with
    > win_port, host, etc. for security reasons]
    >
    > When I try to start the software needing to find the flexlm license at
    > win_port it does not find it.
    >
    > I suspect the cygwin or OpenSSH has to explicitly connect the 127.0.0.1
    > localhost to the PC network somehow, but I don't know how to do it.
    >
    > Suggestions?
    > Roy
    >


  • Next message: John Davidorff Pell: "Re: how to copy filename with spaces using scp"

    Relevant Pages

    • SSH Server for Windows using Cygwin
      ... Today I was looking for a SSH Server that I can run under Windows. ... First you want to download the cygwin setup program @: ... Just run the setup program and follow the installation instructions ... After installation you need to start cygwin using the brand new icon ...
      (comp.security.ssh)
    • Re: Need help with ms2mit.exe
      ... I bet the Kerberos implementation you are using in cygwin does not have ... and run kinit, I get the ticket. ... then try to ssh, I am asked for a password. ... Jeffrey Altman wrote: ...
      (comp.protocols.kerberos)
    • Re: cygwin + ssh + VPN very slow
      ... firewalled or at least ssh access is not blocked, you just just ssh into it from your home machine, and enable X forwarding. ... Even if you cannot directly ssh into your office machine, but you can ssh into your company firewall them jump to your office machine. ... You can still achieve this without VPN. ... It doesn't depend on cygwin enviroment. ...
      (linux.redhat.misc)
    • Re: FTP Replacement (SSH?)
      ... > I'm interested in using some type of secure replacement for FTP, ... The only problem is that I'm running Windows 2000 Advanced Server. ... Select the openssh package in the cygwin installer. ... ssh is not as secure as some think if you don't trust your users to ...
      (Security-Basics)
    • Re: HELP: how to enable telnet?
      ... looking into secure single sign-on facility. ... I'll get a handle on SSH facilities (as well as ... > Oh, lastly, Cygwin is cool. ... VNC (Virtual Network Computing): ...
      (freebsd-newbies)