Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Hello Igor, /usr/share/doc/Cygwin/openssh.README states: If you start sshd as deamon via cygrunsrv.exe you MUST give the "-D" option to sshd. Otherwise the service can't get started at all. chown SYSTEM /etc/ssh_host*_key chmod 600 /etc/ssh_host*_key solved my problem. Igor Pechtchanski wrote: On W

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread Igor Pechtchanski
On Wed, 29 Sep 2004, a12 wrote: > Hello again, > > Following your hint, I checked /usr/share/doc/Cygwin/openssh.README, and > entered: > > ssh-host-config -y > ssh-user-config -y > cygrunsrv -S sshd > yielded: > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: > The servi

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Hello again, I have just checked the ownership of .pub files, and they are readable by everyone. Brian Dessent wrote: Brian Dessent wrote: ssh_host_*_key.pub are owned by the user that has run ssh-host-config Is it OK ? If you ran the above commands they should be owned by SYSTEM. The idea here

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Thank you very much for your reply. Brian Dessent wrote: a12 wrote: /usr/share/doc/Cygwin/openssh.README states: If you start sshd as deamon via cygrunsrv.exe you MUST give the "-D" option to sshd. Otherwise the service can't get started at all. That isn't telling to you use -D on the cygru

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread Brian Dessent
Brian Dessent wrote: > > ssh_host_*_key.pub are owned by the user that has run ssh-host-config > > Is it OK ? > > If you ran the above commands they should be owned by SYSTEM. The idea > here is that those files contain the private half of the host's > public/private keypair, and this is sensiti

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread Brian Dessent
a12 wrote: > /usr/share/doc/Cygwin/openssh.README states: > If you start sshd as deamon via cygrunsrv.exe you MUST give the > "-D" option to sshd. Otherwise the service can't get started at all. That isn't telling to you use -D on the cygrunsrv command line directly. It means that the sshd argum

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Hello Brian, /usr/share/doc/Cygwin/openssh.README states: If you start sshd as deamon via cygrunsrv.exe you MUST give the "-D" option to sshd. Otherwise the service can't get started at all. chown SYSTEM /etc/ssh_host*_key chmod 600 /etc/ssh_host*_key followed by: cygrunsrv -S sshd started the sshd

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread Brian Dessent
a12 wrote: > I have also tried: > cygrunsrv -S -D sshd > with the following response: > cygrunsrv: trailing commandline argument not allowed > and: > cygrunsrv -D -S sshd > cygrunsrv: unknown option -- D Why? There is no such option -D to cygrunsrv. Run "cygrunsrv --help" for a summary. > Here

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Hello again, Following your hint, I checked /usr/share/doc/Cygwin/openssh.README, and entered: ssh-host-config -y ssh-user-config -y cygrunsrv -S sshd yielded: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. I have also tried: cygrunsrv

Re: ssh-host-config requires cygminires.dll

2004-09-28 Thread Brian Dessent
a12 wrote: > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: > The service has not been started. Just FYI, this error is essentially meaningless. It just tells you that there was an error starting your service, you get it any time something goes wrong. The real error

Re: ssh-host-config requires cygminires.dll

2004-09-28 Thread Igor Pechtchanski
On Tue, 28 Sep 2004, a12 wrote: > Hello Igor, > > Pardon me for my ignorance about not ataching the cygcheck output. > > I have run Cygwin setup.exe once again, and fetched & installed minires and > the new versions of openssh/openssl. > The following ssh-host-config -y ended OK, so I tried to sta

Re: ssh-host-config requires cygminires.dll

2004-09-28 Thread a12
Hello Igor, Pardon me for my ignorance about not ataching the cygcheck output. I have run Cygwin setup.exe once again, and fetched & installed minires and the new versions of openssh/openssl. The following ssh-host-config -y ended OK, so I tried to start the sshd service: cygrunsrv -S sshd and go

Re: ssh-host-config requires cygminires.dll

2004-09-28 Thread Igor Pechtchanski
On Tue, 28 Sep 2004, a12 wrote: > Hello Cygwin users, > > I have installed openssl and openssh. Host configuration with: > cd /bin > ssh-host-config -y > tells me about missing cygminires.dll > Thereafter the configuration continues: > [snip] > Host configuration finished. Have fun! > > Then I sta

ssh-host-config requires cygminires.dll

2004-09-28 Thread a12
Hello Cygwin users, I have installed openssl and openssh. Host configuration with: cd /bin ssh-host-config -y tells me about missing cygminires.dll Thereafter the configuration continues: Generating /etc/ssh_host_key Generating /etc/ssh_host_rsa_key Generating /etc/ssh_host_dsa_key Generating /etc/