Date: Fri, 28 Feb 2020 10:33:14 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 244492] /etc/rc.d/sshd: Warn about missing ssh-keygen only when necessary Message-ID: <bug-244492-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244492 Bug ID: 244492 Summary: /etc/rc.d/sshd: Warn about missing ssh-keygen only when necessary Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: 0mp@FreeBSD.org Created attachment 212017 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212017&action= =3Dedit sshd service patch The sshd service is using ssh-keygen to generate missing SSH keys. If ssh-keygen is missing, it prints the following message: > /etc/rc.d/sshd: WARNING: /usr/bin/ssh-keygen does not exist. It makes sense when the key is not generated yet and cannot be created beca= use ssh-keygen is missing. The problem is that even if the key is present on the host, the sshd service would still warn about missing ssh-keygen (even though it does not need it). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244492-227>