hello,<br><br>Once I try to connect with ssh with ip_v6_disabled = true, like following<br><br clear="all"> ssh:connect("some hostname",2022,[{user,"user"},<br> {password,"pwd"},<br> {user_interaction,false},<br>
{user_dir,"/tmp/tmp.6xqteJfWII"},<br> {silently_accept_hosts,true},<br> {ip_v6_disabled,true}],infinity)<br><br>I will got some error return <br><br>{error,<br> {eoptions,{ip_v6_disabled,true}}}<br>
<br><br>I have check the code of OTP,<br>These two lines looks strange.<br><br>handle_ssh_option({ip_v6_disabled, Value} = Opt) when is_function(Value) -><br> Opt;<br><br>Why it must be a function?<br><br>BTW, ip_v6_disabled = true works in R14B<br>
<br>-- <br>Best Regards <br>//William YangZhuwei<br><br>