aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_options.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-09-07 18:24:05 +0200
committerHans Nilsson <[email protected]>2017-10-02 12:45:01 +0200
commit8d37b35a3d68a5acf4889d5df20b51790ec19097 (patch)
treed951a1b13857ab7ebf71fd2aa5b6da7b181f81e6 /lib/ssh/src/ssh_options.erl
parentf178f46023da20fb2728e9b95b3d14a1c4c6b5ce (diff)
downloadotp-8d37b35a3d68a5acf4889d5df20b51790ec19097.tar.gz
otp-8d37b35a3d68a5acf4889d5df20b51790ec19097.tar.bz2
otp-8d37b35a3d68a5acf4889d5df20b51790ec19097.zip
ssh: add ecdsa_pass_phrase option in analogy with rsa_pass_phrase
Diffstat (limited to 'lib/ssh/src/ssh_options.erl')
-rw-r--r--lib/ssh/src/ssh_options.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_options.erl b/lib/ssh/src/ssh_options.erl
index 6939094401..68c99743ee 100644
--- a/lib/ssh/src/ssh_options.erl
+++ b/lib/ssh/src/ssh_options.erl
@@ -421,6 +421,12 @@ default(client) ->
class => user_options
},
+ {ecdsa_pass_phrase, def} =>
+ #{default => undefined,
+ chk => fun check_string/1,
+ class => user_options
+ },
+
{silently_accept_hosts, def} =>
#{default => false,
chk => fun check_silently_accept_hosts/1,