On Mon, Nov 20, 2023 at 11:54 AM Matthias wrote: > > Dear all, > > I've installed cygwin 3.4.9-1 in my virtualbox running on Windows 10. > After installing defaults plus openssh 9.5p 1-1, I open the Cygwin64-Terminal > as Administrator and > run ssh-host-config. > * Answered "yes" to create the /etc/ssh_config and /etc/sshd_config > * Answered "no" to use StrictMode > * and "yes" to install sshd as a service > * I just press <enter> for the question for "Value of CYGWIN for the daemon". > cygrunsrv -S cygsshd will not start the sshd. The logfile say "no hostkeys > available". > > Unfortunately I can't find ssh-keygen in the installable packages. > Howto install ssh-keygen or how to create hostkeys?
The easy way to see if it's already installed $ which ssh-keygen /usr/bin/ssh-keygen If no, Cygwin is a bit of a pain when looking for a program that's included in another package. There's probably a better way, but I use the cygwin package search - eg: https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ssh-keygen and then take a guess as the most likely candidate in the results list and click on that link to see if it's included in that package - eg https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fopenssh%2Fopenssh-9.5p1-1&grep=ssh-keygen Regards Lee -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple