mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
cleaning up the pubkey defines
--HG-- extra : convert_revision : 149ce7a9a9cc5fe670994d6789b40be49895c595
This commit is contained in:
@@ -61,7 +61,7 @@ static void printhelp(const char * progname) {
|
||||
"-m Don't display the motd on login\n"
|
||||
#endif
|
||||
"-w Disallow root logins\n"
|
||||
#ifdef DROPBEAR_PASSWORD_AUTH
|
||||
#ifdef ENABLE_SVR_PASSWORD_AUTH
|
||||
"-s Disable password logins\n"
|
||||
"-g Disable password logins for root\n"
|
||||
#endif
|
||||
@@ -174,7 +174,7 @@ void svr_getopts(int argc, char ** argv) {
|
||||
case 'w':
|
||||
svr_opts.norootlogin = 1;
|
||||
break;
|
||||
#ifdef DROPBEAR_PASSWORD_AUTH
|
||||
#ifdef ENABLE_SVR_PASSWORD_AUTH
|
||||
case 's':
|
||||
svr_opts.noauthpass = 1;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user