Changes

no edit summary
Line 64: Line 64:  
</li>
 
</li>
 
<li>
 
<li>
If you're using SSH remotely, don't forget to use the router's public IP address when logging in and enable remote SSH access on the router. You can do that by logging in to router's WebUI and navigating to '''System → Administration → Access Control'''. When there, place a check mark next to the "Remote SSH access field" and click "Save":
+
If you're using SSH remotely, don't forget to use the router's public IP address when logging in and enable remote SSH access on the router. You can do that by issuing the following commands:
[[File:How to enable remote ssh access.png]]
+
<pre>
 +
uci set firewall.@rule[5].enabled=1
 +
uci commit
 +
/etc/init.d/firewall restart
 +
</pre>
 
</li>
 
</li>
 
</ul>
 
</ul>
Line 77: Line 81:  
<pre>
 
<pre>
 
uci set dropbear.@dropbear[0].PasswordAuth=off
 
uci set dropbear.@dropbear[0].PasswordAuth=off
uci commit dropbear
+
uci commit
 
/etc/init.d/dropbear restart
 
/etc/init.d/dropbear restart
 
</pre>
 
</pre>
Line 86: Line 90:  
<pre>
 
<pre>
 
uci set dropbear.@dropbear[0].RootPasswordAuth=off
 
uci set dropbear.@dropbear[0].RootPasswordAuth=off
uci commit dropbear
+
uci commit
 
/etc/init.d/dropbear restart
 
/etc/init.d/dropbear restart
 
</pre>
 
</pre>
Line 101: Line 105:  
<pre>
 
<pre>
 
uci set dropbear.@dropbear[0].PasswordAuth=on #### use uci set dropbear.@dropbear[0].RootPasswordAuth=on instead if you had only disabled password authentication for root
 
uci set dropbear.@dropbear[0].PasswordAuth=on #### use uci set dropbear.@dropbear[0].RootPasswordAuth=on instead if you had only disabled password authentication for root
uci commit dropbear
+
uci commit
 
/etc/init.d/dropbear restart
 
/etc/init.d/dropbear restart
 
</pre>
 
</pre>

Navigation menu