<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Emil,<div class=""><br class=""></div><div class="">That syntax should work. In my shell here (zsh) I have to put "[127.0.0.1]:22" in quotes, could that be the problem?</div><div class=""><br class=""></div><div class="">What commandline do you see if you look at "ps aux"?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Matt<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Tue 22/12/2020, at 9:13 am, Emil Christopher Solli Melar <<a href="mailto:typeof@gmail.com" class="">typeof@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello! I use Dropbear server v2019.78.<div class="">My goal is to only make it bind to localhost so I don't have to block it with a firewall / iptables.<br class=""><div class="">It's run like this: /dropbear -i -r /var/lib/dropbear/dropbear_rsa_host_key -p [127.0.0.1]:22 -p [::1]:22 -s<br class=""><div class=""><div class=""><br class=""></div><div class="">I have tried to search via google but the documentation states that this is how you bind to specific addresses. I also tried -p <a href="http://127.0.0.1:22/" class="">127.0.0.1:22</a> without the brackets.</div><div class=""><br class=""></div><div class="">I can confirm that the process is running using ps, but netstat shows:<br class="">tcp        0      0 :::22                   :::*                    LISTEN<br class=""></div><div class=""><br class=""></div><div class="">What am I missing here? It seems to bind to all no matter what.</div><div class="">Thanks!</div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Emil Christopher Solli Melar</div></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>