On Tue, 28 Nov 2006 23:08:00 -0200
"renato Rudnicki" <[EMAIL PROTECTED]> wrote:

> 1 - estava querendo liberar acesso a apenas 1 usuário no ssh, sei que
> isso pode ser feito na linha AllowUsers. Mas no meu sshd_config, não
> existe essa linha. Gostaria de saber qual a sintaxe para eu liberar
> apenas 1 usuário para poder se conectar no ssh.

tirado de sshd_config(5):

     AllowUsers
             This keyword can be followed by a list of user name patterns,
             separated by spaces.  If specified, login is allowed only for
             user names that match one of the patterns.  `*' and `?' can be
             used as wildcards in 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 [EMAIL 
PROTECTED]
             then USER and HOST are separately checked, restricting logins to
             particular users from particular hosts.

     DenyGroups
             This keyword can be followed by a list of group name patterns,
             separated by spaces.  Login is disallowed for users whose primary
             group or supplementary group list matches one of the patterns.
             `*' and `?' can be used as wildcards in the patterns.  Only group
             names are valid; a numerical group ID is not recognized.  By
             default, login is allowed for all groups.

     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.  `*' and `?' can be used as wildcards
             in 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 [EMAIL PROTECTED] then USER and HOST 
are
             separately checked, restricting logins to particular users from
             particular hosts.


> 3 - Como eu posso fazer para iniciar uma conexao X pelo ssh ?

        % ssh -X host

-- 
Ricardo Nabinger Sanchez     <[EMAIL PROTECTED],wait4.org}>
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."

--~--~---------~--~----~------------~-------~--~----~
-- 
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://groups-beta.google.com/group/slack-users-br

Archives:
- http://www.mail-archive.com/[email protected]/
- http://news.gmane.org/gmane.org.user-groups.linux.brazil.slackware/
-~----------~----~----~----~------~----~------~--~---

Responder a