madsurfer Boulet's eradicator | J'ai installé une Debian Woody (stable) avec le service Openssh afin de pouvoir réaliser de l'administration via l'Internet.
Je souhaiterais interdire les connexions directes en root...
Voici mon fichier /etc/ssh_config
Code :
- ftp:~/home/cedric# more /etc/ssh/ssh_config
- # $OpenBSD: ssh_config,v 1.15 2002/06/20 20:03:34 stevesk Exp $
- # This is the ssh client system-wide configuration file. See
- # ssh_config(5) for more information. This file provides defaults for
- # users, and the values can be changed in per-user configuration files
- # or on the command line.
- # Configuration data is parsed as follows:
- # 1. command line options
- # 2. user-specific file
- # 3. system-wide file
- # Any configuration value is only changed the first time it is set.
- # Thus, host-specific definitions should be at the beginning of the
- # configuration file, and defaults at the end.
- # Site-wide defaults for various options
- Host *
- ForwardAgent no
- ForwardX11 no
- RhostsAuthentication no
- RhostsRSAAuthentication no
- RSAAuthentication yes
- PasswordAuthentication yes
- BatchMode no
- CheckHostIP yes
- StrictHostKeyChecking ask
- # IdentityFile ~/.ssh/identity
- # IdentityFile ~/.ssh/id_rsa
- # IdentityFile ~/.ssh/id_dsa
- Port 22
- # Protocol 2,1
- # Cipher 3des
- # Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
- # EscapeChar ~
- PermitRootLogin no
- AllowUsers cedric,dih
- StrictModes yes
|
J'ai mis PermitRootLogin no... et pourtant |