diff options
author | Ingela Anderton Andin <[email protected]> | 2012-02-14 14:56:46 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-02-15 11:59:08 +0100 |
commit | cd667daee8ac822bd689de73d54e3a4421706519 (patch) | |
tree | efb052dc7ecfc7cdad4664496a18c6a9a423af0a /lib/ssh/src/ssh.erl | |
parent | 4a9cf8de2125832cdc636693ec23f625f195b9e8 (diff) | |
download | otp-cd667daee8ac822bd689de73d54e3a4421706519.tar.gz otp-cd667daee8ac822bd689de73d54e3a4421706519.tar.bz2 otp-cd667daee8ac822bd689de73d54e3a4421706519.zip |
Add support for key files protected by pass phrases
Diffstat (limited to 'lib/ssh/src/ssh.erl')
-rw-r--r-- | lib/ssh/src/ssh.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl index c47db64497..5751f2eaa0 100644 --- a/lib/ssh/src/ssh.erl +++ b/lib/ssh/src/ssh.erl @@ -306,6 +306,10 @@ handle_options([{connect_timeout, _} = Opt | Rest], SockOpts, Opts) -> handle_options(Rest, SockOpts, [Opt | Opts]); handle_options([{user, _} = Opt | Rest], SockOpts, Opts) -> handle_options(Rest, SockOpts, [Opt | Opts]); +handle_options([{dsa_pass_phrase, _} = Opt | Rest], SockOpts, Opts) -> + handle_options(Rest, SockOpts, [Opt | Opts]); +handle_options([{rsa_pass_phrase, _} = Opt | Rest], SockOpts, Opts) -> + handle_options(Rest, SockOpts, [Opt | Opts]); handle_options([{password, _} = Opt | Rest], SockOpts, Opts) -> handle_options(Rest, SockOpts, [Opt | Opts]); handle_options([{user_passwords, _} = Opt | Rest], SockOpts, Opts) -> |