forked from rpms/openssh
Add missing Banner in sshd -T output
This commit is contained in:
parent
8244d5a508
commit
0a076e7e9e
@ -661,7 +661,7 @@ diff -up openssh-6.8p1/servconf.c.fips openssh-6.8p1/servconf.c
|
|||||||
+ ? KEX_FIPS_ENCRYPT : KEX_SERVER_ENCRYPT);
|
+ ? KEX_FIPS_ENCRYPT : KEX_SERVER_ENCRYPT);
|
||||||
+ dump_cfg_string(sMacs, o->macs ? o->macs : FIPS_mode()
|
+ dump_cfg_string(sMacs, o->macs ? o->macs : FIPS_mode()
|
||||||
+ ? KEX_FIPS_MAC : KEX_SERVER_MAC);
|
+ ? KEX_FIPS_MAC : KEX_SERVER_MAC);
|
||||||
dump_cfg_string(sBanner, o->banner);
|
dump_cfg_string(sBanner, o->banner != NULL ? o->banner : "none");
|
||||||
dump_cfg_string(sForceCommand, o->adm_forced_command);
|
dump_cfg_string(sForceCommand, o->adm_forced_command);
|
||||||
dump_cfg_string(sChrootDirectory, o->chroot_directory);
|
dump_cfg_string(sChrootDirectory, o->chroot_directory);
|
||||||
@@ -2240,8 +2242,8 @@ dump_config(ServerOptions *o)
|
@@ -2240,8 +2242,8 @@ dump_config(ServerOptions *o)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
diff -up openssh-6.8p1/servconf.c.sshdt openssh-6.8p1/servconf.c
|
diff -up openssh-6.8p1/servconf.c.sshdt openssh-6.8p1/servconf.c
|
||||||
--- openssh-6.8p1/servconf.c.sshdt 2015-03-18 13:07:24.457858235 +0100
|
--- openssh-6.8p1/servconf.c.sshdt 2015-05-28 13:32:55.728821389 +0200
|
||||||
+++ openssh-6.8p1/servconf.c 2015-03-18 13:09:27.253557396 +0100
|
+++ openssh-6.8p1/servconf.c 2015-05-28 13:34:01.937750270 +0200
|
||||||
@@ -2118,6 +2118,8 @@ dump_cfg_strarray_oneline(ServerOpCodes
|
@@ -2118,6 +2118,8 @@ dump_cfg_strarray_oneline(ServerOpCodes
|
||||||
{
|
{
|
||||||
u_int i;
|
u_int i;
|
||||||
@ -35,7 +35,15 @@ diff -up openssh-6.8p1/servconf.c.sshdt openssh-6.8p1/servconf.c
|
|||||||
dump_cfg_fmtint(sAllowStreamLocalForwarding, o->allow_streamlocal_forwarding);
|
dump_cfg_fmtint(sAllowStreamLocalForwarding, o->allow_streamlocal_forwarding);
|
||||||
dump_cfg_fmtint(sUsePrivilegeSeparation, use_privsep);
|
dump_cfg_fmtint(sUsePrivilegeSeparation, use_privsep);
|
||||||
dump_cfg_fmtint(sFingerprintHash, o->fingerprint_hash);
|
dump_cfg_fmtint(sFingerprintHash, o->fingerprint_hash);
|
||||||
@@ -2231,7 +2235,8 @@ dump_config(ServerOptions *o)
|
@@ -2224,14 +2228,15 @@ dump_config(ServerOptions *o)
|
||||||
|
dump_cfg_string(sXAuthLocation, o->xauth_location);
|
||||||
|
dump_cfg_string(sCiphers, o->ciphers ? o->ciphers : KEX_SERVER_ENCRYPT);
|
||||||
|
dump_cfg_string(sMacs, o->macs ? o->macs : KEX_SERVER_MAC);
|
||||||
|
- dump_cfg_string(sBanner, o->banner);
|
||||||
|
+ dump_cfg_string(sBanner, o->banner != NULL ? o->banner : "none");
|
||||||
|
dump_cfg_string(sForceCommand, o->adm_forced_command);
|
||||||
|
dump_cfg_string(sChrootDirectory, o->chroot_directory);
|
||||||
|
dump_cfg_string(sTrustedUserCAKeys, o->trusted_user_ca_keys);
|
||||||
dump_cfg_string(sRevokedKeys, o->revoked_keys_file);
|
dump_cfg_string(sRevokedKeys, o->revoked_keys_file);
|
||||||
dump_cfg_string(sAuthorizedPrincipalsFile,
|
dump_cfg_string(sAuthorizedPrincipalsFile,
|
||||||
o->authorized_principals_file);
|
o->authorized_principals_file);
|
@ -209,7 +209,7 @@ Patch920: openssh-6.6.1p1-ip-port-config-parser.patch
|
|||||||
# https://lists.mindrot.org/pipermail/openssh-unix-dev/2014-April/032497.html
|
# https://lists.mindrot.org/pipermail/openssh-unix-dev/2014-April/032497.html
|
||||||
Patch921: openssh-6.7p1-debian-restore-tcp-wrappers.patch
|
Patch921: openssh-6.7p1-debian-restore-tcp-wrappers.patch
|
||||||
# apply upstream patch and make sshd -T more consistent (#1187521)
|
# apply upstream patch and make sshd -T more consistent (#1187521)
|
||||||
Patch922: openssh-6.7p1-sshdT-output.patch
|
Patch922: openssh-6.8p1-sshdT-output.patch
|
||||||
# fix ssh-copy-id on non-sh shells (#1045191)
|
# fix ssh-copy-id on non-sh shells (#1045191)
|
||||||
Patch923: openssh-6.8p1-fix-ssh-copy-id-on-non-sh-shell.patch
|
Patch923: openssh-6.8p1-fix-ssh-copy-id-on-non-sh-shell.patch
|
||||||
# AArch64 has seccomp support since 3.19 kernel (#1195065)
|
# AArch64 has seccomp support since 3.19 kernel (#1195065)
|
||||||
|
Loading…
Reference in New Issue
Block a user