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

Ingela Andin ingela.andin@REDACTED
Mon Aug 8 17:40:20 CEST 2016


Hi!

2016-08-08 13:35 GMT+02:00 Bengt Kleberg <bengt.kleberg@REDACTED>:

> 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
>

That is an ssl option, not an ssh option. ssl and ssh are different
protocols!

Regards Ingela Erlang/OTP Team -  Ericsson AB


> bengt
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160808/6190ebbe/attachment.htm>


More information about the erlang-questions mailing list