Protocol
- |
- SSH protocol version.
- |
- 2
- |
- Yes
- |
-
- SyslogFacility
- |
- Log type of the SSH service. The item is set to AUTH, indicating authentication logs.
- |
- AUTH
- |
- Yes
- |
-
- LogLevel
- |
- Level for recording SSHD logs.
- |
- VERBOSE
- |
- Yes
- |
-
- X11Forwarding
- |
- Specifies whether a GUI can be used after login using SSH.
- |
- no
- |
- Yes
- |
-
- MaxAuthTries
- |
- Maximum number of authentication attempts.
- |
- 3
- |
- No
- |
-
- PubkeyAuthentication
- |
- Specifies whether public key authentication is allowed.
- |
- yes
- |
- Yes
- |
-
- RSAAuthentication
- |
- Specifies whether only RSA security authentication is allowed.
- |
- yes
- |
- Yes
- |
-
- IgnoreRhosts
- |
- Specifies whether the rhosts and shosts files are used for authentication. The rhosts and shosts files record the names of the servers that support remote access and related login names.
- |
- yes
- |
- Yes
- |
-
- RhostsRSAAuthentication
- |
- Specifies whether the RSA algorithm security authentication based on the rhosts file is used. The rhosts file records the names of the servers that support remote access and related login names.
- |
- no
- |
- Yes
- |
-
- HostbasedAuthentication
- |
- Specifies whether host-based authentication is used. Host-based authentication indicates that any user of a trusted client can use the SSH service.
- |
- no
- |
- Yes
- |
-
- PermitRootLogin
- |
- Specifies whether to allow user root to log in to the system using SSH.
- NOTE: If you want to log in to the system using SSH as user root, set the value of the PermitRootLogin field in the /etc/ssh/sshd_config file to yes.
-
- |
- no
- |
- No
- |
-
- PermitEmptyPasswords
- |
- Specifies whether accounts with empty passwords can log in.
- |
- no
- |
- Yes
- |
-
- PermitUserEnvironment
- |
- Specifies whether to resolve the environment variables set in ~/.ssh/environment and ~/.ssh/authorized_keys.
- |
- no
- |
- Yes
- |
-
- Ciphers
- |
- Encryption algorithm of SSH data transmission.
- |
- aes128-ctr,aes192-ctr,aes256-ctr,chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com
- |
- Yes
- |
-
- ClientAliveInterval
- |
- Timeout period of the system (in seconds). If no response from the client is received in the specific period, the server automatically disconnects from the client.
- |
- 300
- |
- No
- |
-
- ClientAliveCountMax
- |
- Timeout count. After the server sends a request, if the number of times that the client does not respond reaches a specified value, the server automatically disconnects from the client.
- |
- 0
- |
- No
- |
-
- Banner
- |
- File of the prompt information displayed before and after SSH login.
- |
- /etc/issue.net
- |
- Yes
- |
-
- MACs
- |
- Hash algorithm for SSH data verification.
- |
- hmac-sha2-512,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com,hmac-sha1,hmac-sha1-etm@openssh.com
- |
- Yes
- |
-
- StrictModes
- |
- Specifies whether to check the permission on and ownership of the home directory and rhosts file before SSH receives login requests.
- |
- yes
- |
- Yes
- |
-
- UsePAM
- |
- Specifies whether to use PAM for login authentication.
- |
- yes
- |
- Yes
- |
-
- AllowTcpForwarding
- |
- Specifies whether to allow TCP forwarding.
- |
- no
- |
- Yes
- |
-
- Subsystem sftp /usr/libexec/openssh/sftp-server
- |
- SFTP log record level, which records the INFO level and authentication logs.
- |
- -l INFO -f AUTH
- |
- Yes
- |
-
- AllowAgentForwarding
- |
- Specifies whether to allow SSH Agent forwarding.
- |
- no
- |
- Yes
- |
-
- GatewayPorts
- |
- Specifies whether SSH can connect to ports on the forwarding client.
- |
- no
- |
- Yes
- |
-
- PermitTunnel
- |
- Specifies whether Tunnel devices are allowed.
- |
- no
- |
- Yes
- |
-
- KexAlgorithms
- |
- SSH key exchange algorithms.
- |
- curve25519-sha256,curve25519-sha256@@libssh.org,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256
- |
- Yes
- |
-
- LoginGraceTime
- |
- Time limit for users passing the authentication. 0 indicates no limit. The default value is 60 seconds.
- |
- 60
- |
- No
- |
-
-
-