diff --git a/src/common/outbound.c b/src/common/outbound.c index 255e809c..98384929 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3249,6 +3249,7 @@ cmd_server (struct session *sess, char *tbuf, char *word[], char *word_eol[]) if (*pass) { safe_strcpy (serv->password, pass, sizeof (serv->password)); + serv->loginmethod = LOGIN_PASS; } #ifdef USE_OPENSSL serv->use_ssl = use_ssl;