Re: Restricting ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



07.01.2011 00:28, Timothy Murphy:

> I have an sshd server running on a machine in Ireland.
> 
> Can I configure it so that it only accepts connection
> from certain machines, wherever they may be in the world?

Among other things already mentioned you could turn off all
*Authentication options in sshd_config and append a Match block matching
addresses or host names where you turn the relevant ones back on. For
example, something like

[...]
PasswordAuthentication no
PubkeyAuthentication no
[...]
Match Address x.y.z.w
PubkeyAuthentication yes

-- 
Regards
  mks
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux