sshd restrict connections
Hello ! On my PC I run only one Server , SSHD . It's already listening on a different port than the default one (port 58) , I've configured SSHD to allow log-ins only from <username@ip> . I have another problem though . I would like that .. connections should be accepted on port 58 only if the connecting ip matches <special_IP> . Meaning , if you try to connect on port 58 (connect, not log in), your connection attempt should be refused as if the port would be closed , if your ip doesn't match <special_IP> that is . I remember doing it through /etc/login.access but for some reason all my attempt to do it again now fail :S . Does anyone know how to achieve what I mentioned earlier ? (preferably through /etc/login.access ..)
|