aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-06-09 14:57:08 +0200
committerHans Nilsson <[email protected]>2015-06-09 14:57:08 +0200
commit71bb9332da98cb97034413d342f4722331e7ee84 (patch)
treec70d103920f640789bafffdc273517eb00da746f /lib/ssh
parentdc3b2ec3a2e89d48c9fb3329c756107cfb7442c2 (diff)
downloadotp-71bb9332da98cb97034413d342f4722331e7ee84.tar.gz
otp-71bb9332da98cb97034413d342f4722331e7ee84.tar.bz2
otp-71bb9332da98cb97034413d342f4722331e7ee84.zip
ssh: change pwd->password for keyboard-interactive
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/src/ssh_auth.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_auth.erl b/lib/ssh/src/ssh_auth.erl
index 585bf89539..58faee062e 100644
--- a/lib/ssh/src/ssh_auth.erl
+++ b/lib/ssh/src/ssh_auth.erl
@@ -251,7 +251,6 @@ handle_userauth_request(#ssh_msg_userauth_request{user = User,
_, #ssh{opts = Opts,
kb_tries_left = KbTriesLeft,
userauth_supported_methods = Methods} = Ssh) ->
-io:format('KbTriesLeft ~p~n',[KbTriesLeft]),
case KbTriesLeft of
N when N<1 ->
{not_authorized, {User, {authmethod, "keyboard-interactive"}},
@@ -273,7 +272,7 @@ io:format('KbTriesLeft ~p~n',[KbTriesLeft]),
%% SSH_MSG_USERAUTH_FAILURE, or SSH_MSG_USERAUTH_INFO_REQUEST message."
Default = {"SSH server",
"Enter password for \""++User++"\"",
- "pwd: ",
+ "password: ",
false},
{Name, Instruction, Prompt, Echo} =