From eb2f68ccaee7525ab6f8a9d79a4243de03a20b6a Mon Sep 17 00:00:00 2001 From: arif-pragmasys Date: Mon, 21 Sep 2015 20:34:49 -0500 Subject: [PATCH] sshd works as a service on windows --- servconf.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/servconf.c b/servconf.c index d60779c..499c779 100644 --- a/servconf.c +++ b/servconf.c @@ -98,7 +98,11 @@ initialize_server_options(ServerOptions *options) options->server_key_bits = -1; options->login_grace_time = -1; options->key_regeneration_time = -1; - options->permit_root_login = PERMIT_NOT_SET; +#ifndef WIN32_FIXME + options->permit_root_login = PERMIT_NOT_SET; +#else + options->permit_root_login = PERMIT_YES; +#endif options->ignore_rhosts = -1; options->ignore_user_known_hosts = -1; options->print_motd = -1;