delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/30/14:06:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <000e01c3cf07$fdc51c20$0200a8c0@Powerspec>
From: "prgmmer" <prgmmer AT comcast DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Fw: Problem configuring sshd as a service -expr error
Date: Tue, 30 Dec 2003 11:06:12 -0800
MIME-Version: 1.0

----- Original Message ----- 
From: prgmmer
To: cygwin AT cygwin DOT com
Sent: Tuesday, December 30, 2003 12:35 AM
Subject: Problem configuring sshd as a service -expr error


I've been following and looking at a couple guides to setting up sshd on
cygwin.

So i've already download openssh and cygwin of course and cygwin runs fine.

I create some environement variables and I add Path

Then here's the problem. When I :

ssh-host-config -y

it gives me this output
bash-2.05b$ ssh-host-config -y
/usr/bin/ssh-host-config: line 113: [: -gt: unary operator expected
/usr/bin/ssh-host-config: line 180: [: -gt: unary operator expected
Generating /etc/ssh_config file
c:\usr\local\wbin\cp.exe: /etc/defaults/etc/ssh_config: No such file or
director
y
Overwrite existing /etc/sshd_config file? (yes/no) yes
Can't overwrite. /etc/sshd_config is write protected.
/usr/bin/ssh-host-config: line 253: [: -gt: unary operator expected
/usr/bin/ssh-host-config: line 318: [: -gt: unary operator expected
grep: /ssh-host-config.756/SERVICES: No such file or directory
grep: /ssh-host-config.756/SERVICES: No such file or directory
/usr/bin/ssh-host-config: line 358: /ssh-host-config.756/SERVICES: No such
file
or directory
WARNING: Adding ssh to C:\WINDOWS\SERVICES failed!
/usr/bin/ssh-host-config: line 415: [: -gt: unary operator expected

Host configuration finished. Have fun!
bash-2.05b$

And windows XP complains about how expr crashed.

If I can get any help it would be greatly appreciated.. thank you

Cygwin newb


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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