Basically I want to limit any and all connections to the raspberry, except for 2 computers (10.2.0.200 and 10.2.2.196) from which I ssh to the raspberries. The best I was able to do was allow one IP to connect, but I can't quite figure out the syntax for a second one. It appears the deny list is evaluated in such a way that the allow list is over ruled or overlooked all together.
In shory, the only thing I could come up with that worked was this:
Alas, for obvious reasons, it will only allow the one connection.
Code: Select all
sshd: ALL EXCEPT 10.2.2.196
Anyone able to help me on this? Layman's terms appreciated.