mirror of
https://github.com/upa/mscp.git
synced 2026-03-07 08:07:31 +08:00
change prompt for ssh key passphrase
This commit is contained in:
@@ -130,7 +130,7 @@ static int ssh_cache_passphrase(const char *prompt, char *buf, size_t len, int e
|
|||||||
opts->passphrase = NULL;
|
opts->passphrase = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ssh_getpass(prompt, buf, len, echo, verify) < 0)
|
if (ssh_getpass("Passphrase: ", buf, len, echo, verify) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
/* cache the passphrase */
|
/* cache the passphrase */
|
||||||
|
|||||||
Reference in New Issue
Block a user