1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 22:12:47 -05:00

Reinstate functionality of CONF_ssh_show_banner.

Apparently this option to not display the authentication banner got
completely lost during the breakup of the old monolithic ssh.c.
This commit is contained in:
Simon Tatham
2019-03-27 22:27:30 +00:00
parent 209dd65ead
commit fda1e6b71f
3 changed files with 10 additions and 3 deletions

1
ssh.c
View File

@ -251,6 +251,7 @@ static void ssh_got_ssh_version(struct ssh_version_receiver *rcv,
userauth_layer = ssh2_userauth_new(
connection_layer, ssh->savedhost, ssh->fullhostname,
conf_get_filename(ssh->conf, CONF_keyfile),
conf_get_bool(ssh->conf, CONF_ssh_show_banner),
conf_get_bool(ssh->conf, CONF_tryagent), username,
conf_get_bool(ssh->conf, CONF_change_username),
conf_get_bool(ssh->conf, CONF_try_ki_auth),