<div dir="ltr"><div>Hi!</div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-08 13:35 GMT+02:00 Bengt Kleberg <span dir="ltr"><<a href="mailto:bengt.kleberg@ericsson.com" target="_blank">bengt.kleberg@ericsson.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Greetings,<br>
<br>
When I read the thread about the cipher problem you seemed happy with 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<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>That is an ssl option, not an ssh option. ssl and ssh are different protocols!</div><div><br></div><div>Regards Ingela Erlang/OTP Team - Ericsson AB</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
<br>
bengt</font></span><div class=""><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/list<wbr>info/erlang-questions</a><br>
</div></div></blockquote></div><br></div></div>