Re: Q:Two Cygwin sshd's per one Windows machine?

From: Pekka Niiranen (pekka.niiranen_at_wlanmail.com)
Date: 06/20/04

  • Next message: God Rudy: "Re: Q:Two Cygwin sshd's per one Windows machine?"
    Date: Sun, 20 Jun 2004 19:40:32 +0300
    To: Nico Kadel-Garcia <nkadel@comcast.net>
    
    

    Why,

    I would like to have two identical installations of software
    running in Cygwin: the official one on D: and
    development version on E:. Both should have sshd server.

    I quess "change root" would do fine: depending which user
    logs on, the root and thereby all accessible directories
    below are physically either on D:- or E: -drive only.

    True, each ssh user can have his own "environment" -file, but...

    -pekka-

    Nico Kadel-Garcia wrote:
    > Pekka Niiranen wrote:
    >
    >>Hi there,
    >>
    >>has anybody managed to set up two Cygwin sshd processes for single
    >>Windows machine? I am thinking of setting ssh connections
    >>with different root disks: one for D: -partition and other
    >>for E -partition. The cygwin installations would use indentical
    >>configuration files, only the physical disk partitions are different.
    >>
    >>-pekka-
    >
    >
    > 1: The SSH daemons will have to listen on different ports, say one on port
    > 22 and the other on port 2022.
    >
    > 2: Cygwin installations have interesting overlaps of "Windows Registry"
    > entries, and .dll's that can really only be loaded once and remain
    > semi-permanently active. I suspect that therefore this won't work well.
    >
    > 3: If you have enough disk space, and can spare the CPU/RAM required, you
    > could consider setting up a full virtual machine on drive D: and running it
    > via VMWare. You'd need two different IP addresses to make this work well,
    > but that's do-able.
    >
    > Why do you want to do this, anyway?
    >
    >


  • Next message: God Rudy: "Re: Q:Two Cygwin sshd's per one Windows machine?"

    Relevant Pages

    • Re: Unix command for Windows
      ... find some toolkit on the net/web and install it on your machine. ... provides Unix compatible interfaces, and "native" ports which compile ... in the Cygwin model the DLL ...
      (comp.unix.programmer)
    • Re: use ipchains to block all ports > 60,000
      ... else going on here except sshd which allows me to log in and monitor the ... Telnet not running but here's the ouput of ssh -V and sshd -V ... OK, ran that from an external box and it showed open ports 22, 80, plus ... My ISP looked for evidence of massive scans emanating from my ip address ...
      (comp.os.linux.security)
    • Re: native port of sshd for windows
      ... > Does a native port of SSHD (the server, ... You can run the cygwin sshd from a DOS/command shell line rather than ... I had it running on Windows ME by having a BAT file launch it ...
      (comp.security.ssh)
    • Re: cannot start sshd on cygwin- win xp
      ... I have since reinstalled cygwin, ... I found that the strace command, started sshd and sort of occupied ... cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error ...
      (comp.security.ssh)
    • Re: cannot start sshd on cygwin- win xp
      ... I have since reinstalled cygwin, ... I found that the strace command, started sshd and sort of occupied the ... window, did not return me to a shell to enter more commands in that ... in your shell. ...
      (comp.security.ssh)