Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: Fw: Problem configuring sshd as a service -expr error Date: Tue, 30 Dec 2003 11:06:12 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit ----- 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/