This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ssh-host-config script fails


I've recently installed cygwin on a Windows XP box. I followed the same
procedure I have in the past but this time I received a number of
errors. Here's what I did:

* Downloaded setup.exe from cygwin.com
* Installed from the internet and selected emacs and OpenSSH to be
installed
* Started up a shell and typed ssh-host-config
In the past I was nearly done at this point but this time I received the
following error:

Administrator@ics-dp35xppro ~

$ ssh-host-config

/usr/bin/ssh-host-config: line 23:
/usr/share/csih/cygwin-service-installation-helper.sh: No such file or
directory
/usr/bin/ssh-host-config: line 466: csih_make_dir: command not found

/usr/bin/ssh-host-config: line 471: csih_make_dir: command not found

/usr/bin/ssh-host-config: line 489: csih_make_dir: command not found

chmod: cannot access `/var/empty': No such file or directory

setfacl: No such file or directory

/usr/bin/ssh-host-config: line 37: csih_inform: command not found

/usr/bin/ssh-host-config: line 43: csih_inform: command not found

/usr/bin/ssh-host-config: line 49: csih_inform: command not found

/usr/bin/ssh-host-config: line 498: csih_check_program_or_error: command
not found

/usr/bin/ssh-host-config: line 502: csih_install_config: command not
found      
/usr/bin/ssh-host-config: line 514: csih_install_config: command not
found      
grep: /etc/sshd_config: No such file or directory

/usr/bin/ssh-host-config: line 130: csih_is_nt: command not found

/usr/bin/ssh-host-config: line 65: csih_is_nt: command not found

grep: /ssh-host-config.596/SERVICES: No such file or directory

grep: /ssh-host-config.596/SERVICES: No such file or directory

/usr/bin/ssh-host-config: line 105: /ssh-host-config.596/SERVICES: No
such file or directory

/usr/bin/ssh-host-config: line 115: csih_warning: command not found

/usr/bin/ssh-host-config: line 270: csih_is_nt: command not found

/usr/bin/ssh-host-config: line 528: csih_inform: command not found

Consequently I went back to the setup.exe and install csih and diffutils
(a step that previously was not required) and ran ssh-host-config again
with the following result:

Administrator@ics-dp35xppro ~
$ ssh-host-config
*** Info: Creating default /etc/ssh_config file
*** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
*** Info: Creating default /etc/sshd_config file
*** Info: Privilege separation is set to yes by default since OpenSSH
3.3.
*** Info: However, this requires a non-privileged account called 'sshd'.
*** Info: For more info on privilege separation read
/usr/share/doc/openssh/README.privsep.
*** Query: Should privilege separation be used? (yes/no) yes
*** Warning: The owner and the Administrators need
*** Warning: to have .w. permission to /var/run.
*** Warning: Here are the current permissions:
*** Warning: drwxr-xr-x 2 Administrator None 0 Jul 23 10:21 /var/run
*** Warning: Please change the user and/or group ownership and
*** Warning: permissions of /var/run.
*** ERROR: Problem with /var/run directory. Exiting.

I've tried changing the permissions on /var/run but the commands chgrp
and chmod both produce no error but do not change the permissions
either.

I have attached the results of cygcheck -s -v -r > cygcheck.out as per
the problem reporting guidelines.

--Matt Kemmerer
Software Engineer
ICS
www.washnet.com

Attachment: cygcheck.out
Description: cygcheck.out

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]