FreeBSD Bugzilla – Attachment 159634 Details for
Bug 202153
[PATCH] set ssh-keygen flags in rc.conf for rc.d/sshd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
adds variables to sshd_keygen() that pass per key-type flags from rc.conf
patch-etc_rc.d_sshd.txt (text/plain), 458 bytes, created by
Chad Jacob Milios
on 2015-08-07 08:03:40 UTC
(
hide
)
Description:
adds variables to sshd_keygen() that pass per key-type flags from rc.conf
Filename:
MIME Type:
Creator:
Chad Jacob Milios
Created:
2015-08-07 08:03:40 UTC
Size:
458 bytes
patch
obsolete
>--- /usr/src/etc/rc.d/sshd 2014-11-15 00:04:00.000000000 +0000 >+++ /etc/rc.d/sshd 2015-07-14 23:24:11.426005726 +0000 >@@ -56,8 +56,9 @@ > if [ -f "${keyfile}" ] ; then > info "$ALG host key exists." > else >+ eval keygen_flags=\$sshd_${alg}_flags > echo "Generating $ALG host key." >- /usr/bin/ssh-keygen -q -t $alg -f "$keyfile" -N "" >+ /usr/bin/ssh-keygen -q -t $alg -f "$keyfile" $keygen_flags -N "" > /usr/bin/ssh-keygen -l -f "$keyfile.pub" > fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 202153
:
159634
|
159635
|
159642