aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_transport.erl
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2012-11-15 14:32:52 +0100
committerFredrik Gustafsson <[email protected]>2012-11-15 14:32:52 +0100
commite9d46adb58b940a92874b2c4bcc833dfcf7375a3 (patch)
tree181317a1a03d54bc335593e9627e5b7d67e0f228 /lib/ssh/src/ssh_transport.erl
parent55c2b0b6d55fe6a011671832b5529cb1c7b636a8 (diff)
downloadotp-e9d46adb58b940a92874b2c4bcc833dfcf7375a3.tar.gz
otp-e9d46adb58b940a92874b2c4bcc833dfcf7375a3.tar.bz2
otp-e9d46adb58b940a92874b2c4bcc833dfcf7375a3.zip
Fixed user interaction ssh
Diffstat (limited to 'lib/ssh/src/ssh_transport.erl')
-rw-r--r--lib/ssh/src/ssh_transport.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_transport.erl b/lib/ssh/src/ssh_transport.erl
index 1f912c9bdf..7f6e7d9946 100644
--- a/lib/ssh/src/ssh_transport.erl
+++ b/lib/ssh/src/ssh_transport.erl
@@ -133,7 +133,7 @@ kex_dh_gex_messages() ->
].
yes_no(Ssh, Prompt) ->
- (Ssh#ssh.io_cb):yes_no(Prompt).
+ (Ssh#ssh.io_cb):yes_no(Prompt, Ssh).
connect(ConnectionSup, Address, Port, SocketOpts, Opts) ->
Timeout = proplists:get_value(connect_timeout, Opts, infinity),