Update serveur_debian_smb_ssh.md
This commit is contained in:
parent
816acff911
commit
91651a6fc0
@ -13,21 +13,22 @@ sudo apt install openssh-server
|
||||
|
||||
!!! note "/etc/ssh/sshd_config"
|
||||
```
|
||||
# Define a port different of default port=22
|
||||
# Define a diferent port from default port=22
|
||||
Port 43000
|
||||
# certificate directory
|
||||
# certificate location
|
||||
HostKey /etc/ssh/ssh_host_ecdsa_key
|
||||
# Opening time of TCP session
|
||||
LoginGraceTime 20s
|
||||
# Maximun authentification Tries
|
||||
# Maximum authentification Tries
|
||||
MaxAuthTries 3
|
||||
# Maximun session in same time
|
||||
# Maximum sessions in same time
|
||||
MaxSessions 1
|
||||
# Authentification by public key
|
||||
PubkeyAuthentication yes
|
||||
# Authentication by Password
|
||||
PasswordAuthentication yes
|
||||
ChallengeResponseAuthentication no
|
||||
PasswordAuthentication no
|
||||
# Question-Answer between server and client to validate authentication
|
||||
ChallengeResponseAuthentication yes
|
||||
# Message of the day
|
||||
PrintMotd no
|
||||
# Language of your local machine
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user