Cygwin 3.4.9 - how to install ssh-keygen

Brian Inglis Brian.Inglis@Shaw.ca
Wed Nov 22 15:23:28 GMT 2023


On 2023-11-22 00:40, Matthias--- via Cygwin wrote:
> Am Dienstag, dem 21.11.2023 um 19:23 -0700 schrieb Brian Inglis:
>> 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
>>
> Thank you,
> $HOME/.ssh has been created with id_dsa and id_dsa.pub
> rsa and ecdsa hasn't been created also if it said "*** Info: Generating /home/meyer/.ssh/id_..."

Now you can securely use ssh-keygen -A to create all default host key types or
ssh-keygen -t TYPE -a ROUNDS -b BITS -c for keys of any types and strengths you 
wish.

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