SSH AllowUsers

 # This is ssh server systemwide configuration file.

          Port 22
          ListenAddress 192.168.1.1
          HostKey /etc/ssh/ssh_host_key
          ServerKeyBits 1024
          LoginGraceTime 600
          KeyRegenerationInterval 3600
          PermitRootLogin no
          IgnoreRhosts yes
          IgnoreUserKnownHosts yes
          StrictModes yes
          X11Forwarding no
          PrintMotd yes
          SyslogFacility AUTH
          LogLevel INFO
          RhostsAuthentication no
          RhostsRSAAuthentication no
          RSAAuthentication yes
          PasswordAuthentication yes
          PermitEmptyPasswords no
          AllowUsers admin

 AllowUsers admin

    The option AllowUsers specifies and controls which users can access ssh services. Multiple users can be specified, separated by spaces.

Configure the /etc/ssh/sshd_config file

Author: WladyX on 7 August, 2009
Category: General, Ssh

Leave a Reply

Last articles