<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span class=""><div style="font-size:12.8px">So you need to have a module implementing the function that you want to use as a fun.</div></span></div></div></blockquote><div><br></div><div>I tried this, and I start my remote shell using</div><div>`erl -remsh nodename@remotehost -pa ./ebin -setcookie cookie -name node@host -ssl_dist_optfile ./sslopts.conf -proto_dist inet_tls`</div><div>where ./ebin contains the module beam.</div><div><br></div><div>In this case the shell process just terminates without giving me any error messages.<br></div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>This is a limitation for  distribution over TLS as unamed funs can not be handled in files.</div></div></blockquote><div><br></div><div>When I put some `io:format` statements in my unnamed function they did get printed to console, so it seems this does work?</div><div><br></div><div>Regards,</div><div>San<br></div></div><br></div></div>