Config SSH serveurs

This commit is contained in:
Adrien Bourmault 2021-11-17 23:34:29 +00:00
parent f59007a312
commit f9cc0c0218
2 changed files with 14 additions and 11 deletions

View File

@ -83,7 +83,7 @@ Adresse ipv6 publique : 2001:910:1360::3
# possible, but leave them commented. Uncommented options override the
# default value.
Port 222
Port 223
AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::
@ -101,15 +101,17 @@ Adresse ipv6 publique : 2001:910:1360::3
AllowTcpForwarding yes
GatewayPorts yes
X11Forwarding no
PrintMotd no
TCPKeepAlive yes
PermitTunnel yes
AcceptEnv LANG LC_* GIT_*
Subsystem sftp /usr/lib/openssh/sftp-server
Match Group ssh-pubkey
PubkeyAuthentication yes
@ -120,7 +122,7 @@ Adresse ipv6 publique : 2001:910:1360::3
Match Address 127.0.0.*
PubkeyAuthentication yes
Match Address 192.169.254.3
Match Address 192.169.254.2
PubkeyAuthentication yes
</details>

View File

@ -101,15 +101,17 @@ Adresse ipv6 publique : 2001:910:1360::2
AllowTcpForwarding yes
GatewayPorts yes
X11Forwarding no
PrintMotd no
TCPKeepAlive yes
PermitTunnel yes
AcceptEnv LANG LC_* GIT_*
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
Match Group ssh-pubkey
PubkeyAuthentication yes
@ -122,7 +124,6 @@ Adresse ipv6 publique : 2001:910:1360::2
Match Address 192.169.254.3
PubkeyAuthentication yes
</details>
### Configuration DRBD