
removido
(usa Nenhuma)
Enviado em 24/07/2014 - 23:54h
amarildosertorio escreveu:
# vi /etc/ssh/sshd_config
DenyUsers teste@192.168.0.10
$ man sshd_config
DenyUsers
This keyword can be followed by a list of user name patterns, separated by spaces. Login is disallowed for user names that match one of the patterns. Only user names are valid; a numerical user ID is not recognized. By default, login is allowed for all users. If the pattern takes the form USER@HOST then USER and HOST are separately checked, restricting logins to particular users from particular hosts. The allow/deny directives are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups.
Cara me precipitei.... sabia desta opção
DenyUsers, mas não tinha lido todo o conteúdo da documentação de manual do arquivo
sshd_config sobre essa opção, para saber que poderia usar seguindo esse padrão
user@hots. valeu pela dica.