mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Add check for -t -s clash
multiauthmethod with noauthpass isn't allowed
This commit is contained in:
parent
427e49003a
commit
9f55ff216b
@ -443,6 +443,10 @@ void svr_getopts(int argc, char ** argv) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (svr_opts.multiauthmethod && svr_opts.noauthpass) {
|
||||||
|
dropbear_exit("-t and -s are incompatible");
|
||||||
|
}
|
||||||
|
|
||||||
#if DROPBEAR_PLUGIN
|
#if DROPBEAR_PLUGIN
|
||||||
if (pubkey_plugin) {
|
if (pubkey_plugin) {
|
||||||
char *args = strchr(pubkey_plugin, ',');
|
char *args = strchr(pubkey_plugin, ',');
|
||||||
|
Loading…
Reference in New Issue
Block a user