"Chen, Elvis" wrote:

> Thanks to helpful people on this list, my sshd problem
> is now solved:  now I can ssh into my router from
> external machines.
>
> I solved it by doing the following 2 things:
>
> 1) edit /etc/network/conf and add the following line:
> EXTERN_TCP_PORTS="0/0_22"
>
> and
> 2) edit /etc/hosts.allow and add the following line:
> sshd: ALL
>
> I then saved the files and REBOOTED.  Appearently just
> saving the file won't change the configuration for
> subsequent ssh connection.  I needed to reboot for the
> change to take effect.
>
> I don't know which did the trick (or the combination
> of both), but sshd works the way I want it now.
>

You do not need to backup and reboot to get your changes installed.

# svi network ipfilter reload
will take the info in ram and reload - if it works then back up etc.
You can see all the possible parameters that can be passed to the network script
with
# svi network
It will come back with the useage>

Can be used with other scripts, for example, let's say you made some changes to
dhcpd
# svi dhcpd restart
if it works as you expected then back it up.

The only times I reboot are with a version change or a complete power failure
that exceeds the battery of my ups.  Keeps the uptime adding up.

> snip

--
Victor McAllister



_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to