[erlang-questions] Different SSL behaviours, how to pick ciphers?

Éric Pailleau <>
Mon Aug 8 14:09:02 CEST 2016


Hi,
Error you got look to me more another issue.
Looks like your server don't accept login/password authentication but allow only with public-key. But I maybe wrong.

"Envoyé depuis mon mobile " Eric

---- Bengt Kleberg a écrit ----

>Greetings,
>
>When I read the thread about the cipher problem you seemed happy with 
>the solution to specify
>
>{versions, ['tlsv1.2']}
>
>I wonder if you could tell me where to set this?
>
>
>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
>	{ok, Connection} = ssh:connect( Hostname, 22, [{user, "x"}, {password, "y"}, {silently_accept_hosts, true}, {connect_timeout, Timeout}], Timeout ),
>This fails with
>{error, "Unable to connect using the available authentication methods"}
>
>It is not possible to add
>{versions, ['tlsv1.2']}
>as an option to ssh:connect/4
>
>
>bengt
>
>_______________________________________________
>erlang-questions mailing list
>
>http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160808/7a8bdb90/attachment.html>


More information about the erlang-questions mailing list