<p dir="ltr">Hi,<br>
Error you got look to me more another issue.<br>
Looks like your server don't accept login/password authentication but allow only with public-key. But I maybe wrong.</p>
<p dir="ltr">"Envoyé depuis mon mobile " Eric</p>
<br><br>---- Bengt Kleberg a écrit ----<br><br>Greetings,<br><br>When I read the thread about the cipher problem you seemed happy with <br>the solution to specify<br><br>{versions, ['tlsv1.2']}<br><br>I wonder if you could tell me where to set this?<br><br><br>To automate a file copy (scp) from one machine to another (different users, etc) I have an escript that starts ssh application, and then does<br>       {ok, Connection} = ssh:connect( Hostname, 22, [{user, "x"}, {password, "y"}, {silently_accept_hosts, true}, {connect_timeout, Timeout}], Timeout ),<br>This fails with<br>{error, "Unable to connect using the available authentication methods"}<br><br>It is not possible to add<br>{versions, ['tlsv1.2']}<br>as an option to ssh:connect/4<br><br><br>bengt<br><br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br>