Cygwin 3.4.9 - how to install ssh-keygen

Brian Inglis Brian.Inglis@Shaw.ca
Wed Nov 22 02:23:53 GMT 2023


On 2023-11-20 09:54, Matthias--- via Cygwin 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?

Delete any manually created directories as permissions are likely wrong then run

	$ /usr/bin/ssh-user-config

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin mailing list