I would like to restrict external SSH logins to specific users and allow intranet logins (192.168.0.0/24) to all users. I would appreciate a complete example file for this scenario.
feedback
|
|
Although not tested, you should be able to use something akin to.
This would go into your | |||
|
feedback
|
|
Thank you for your answers. I have also found the following sshd_config syntax at http://ubuntuforums.org/showthread.php?t=523477 :
| |||
|
feedback
|
|
Use host or public key authentication on the local LAN and then password authentication. Than configure known hosts or known_keys for every PC in you intranet | |||
|
feedback
|