Cygwin 3.4.9 - how to install ssh-keygen
Lee
ler762@gmail.com
Tue Nov 21 19:35:47 GMT 2023
On Tue, Nov 21, 2023 at 2:07 PM Hans-Bernhard Bröker wrote:
>
> I can't see a command like
>
> cygcheck -p ssh-keygen
>
> as noticeably more cumbersome than comparable commands of other
> distributions
But you _can_ see/realize the implications of that command :)
I did a 'man cygcheck' before posting my reply, but somehow didn't notice
-p, --package-query search for REGEXP in the entire
cygwin.com package
repository (requires internet connectivity)
which, in hindsight, seems really obvious but somehow I did miss it so
thanks for pointing it out!
Regards,
Lee
>
> Lee via Cygwin <cygwin@cygwin.com> schrieb am Mo., 20. Nov. 2023, 23:42:
>
> > 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
More information about the Cygwin
mailing list