I have a local ssh server that runs on diet pi on the raspberry pi 0 (first server) that i will use as a reverse ssh proxy so i can access my second server that is behind a nat network.
i have openssh installed on both severs
I set the second server to connect automaticly and foward some of his ports to the first server. The connection is authenticated by an rsa key
The first server will have the ssh port open so for max security i want to disable password logins from the public network and only make password logins from the local network (in case something goes wrong)
i allready tried adding this lines
Match Address 192.168.1.*
but it still asks for a password when connecting from a public network like mobile data
@Joulinar, when you get chance, can you please move this to discussions for better response. This is a troubleshooting, support related post that seems to be created by OP by mistake under Community Tutorials.