delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/05/09:21:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000705131931.19151.qmail@nwcst323.netaddress.usa.net>
Date: 5 Jul 00 07:19:31 MDT
From: <norbert DOT bladt AT usa DOT net>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: OpenSSH cygwin port
X-Mailer: USANET web-mailer (34FM1.5.01)
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id JAA29836

Hi !

I am trying to use the cygwin port of the OpenSSH and face
several problems:

o RSA does just work as long as I start the sshd.exe as a user
  but not as a NT-Service

o I can't use input redirection,
  neither on NT like: more <file.txt
  nor on a Linux client, like: ssh -l user NTBox <dird.command
  The result is on NT: more hangs
  on Linux: there is no output returned, not even if I do an output
     redirection, too.

I am using cygwin-1.1.1.

Another problem was the output "illegal user" which just meant
a problem in /etc/passwd. This, AFAIK, must be in UNIX format
if / is mounted in binmode, otherwise /bin/sh (or /winnt/system32/cmd)
ends with a ^M and that "shell" does, of course, not exist.
I didn't try a work-around with another : as a separator.

I am doing something completely wrong or is this simply a problem
in the OpenSSH port ?

Using OpenSSH between Linux, Solaris and Sinix Systems is no
problem, at all, incl. RSA authentication.

Using another port of sshd (with the same version of cygwin1.dll) to
NT I am able to prepare a command file on Linux, send it to NT and
get the output (via redirection on Linux) back. Although the
command file has to contain an "exit" in the last line, it works.

Can the problem in this case be that Linux's ssh says:
"Pseudo-terminal will not be allocated because stdin is not a terminal."
And there is no input/output handling on the NT-Box ?

Thanks for any help you can provide.

L8R,

Norbert Bladt.

P.S.
Because I can't send this message from my normal user account - our
Mail server is on the open relay list - I am sending this from
usa.net and hope that it works.



____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019