Config SSH serveurs
This commit is contained in:
parent
f59007a312
commit
f9cc0c0218
|
@ -83,7 +83,7 @@ Adresse ipv6 publique : 2001:910:1360::3
|
||||||
# possible, but leave them commented. Uncommented options override the
|
# possible, but leave them commented. Uncommented options override the
|
||||||
# default value.
|
# default value.
|
||||||
|
|
||||||
Port 222
|
Port 223
|
||||||
AddressFamily any
|
AddressFamily any
|
||||||
ListenAddress 0.0.0.0
|
ListenAddress 0.0.0.0
|
||||||
ListenAddress ::
|
ListenAddress ::
|
||||||
|
@ -101,27 +101,29 @@ Adresse ipv6 publique : 2001:910:1360::3
|
||||||
AllowTcpForwarding yes
|
AllowTcpForwarding yes
|
||||||
GatewayPorts yes
|
GatewayPorts yes
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
|
|
||||||
PrintMotd no
|
PrintMotd no
|
||||||
|
|
||||||
TCPKeepAlive yes
|
TCPKeepAlive yes
|
||||||
|
|
||||||
PermitTunnel yes
|
PermitTunnel yes
|
||||||
|
|
||||||
AcceptEnv LANG LC_* GIT_*
|
AcceptEnv LANG LC_* GIT_*
|
||||||
|
|
||||||
Subsystem sftp /usr/lib/openssh/sftp-server
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
||||||
|
|
||||||
|
|
||||||
Match Group ssh-pubkey
|
Match Group ssh-pubkey
|
||||||
PubkeyAuthentication yes
|
PubkeyAuthentication yes
|
||||||
|
|
||||||
Match Group ssh-login
|
Match Group ssh-login
|
||||||
PasswordAuthentication yes
|
PasswordAuthentication yes
|
||||||
PubkeyAuthentication yes
|
PubkeyAuthentication yes
|
||||||
|
|
||||||
Match Address 127.0.0.*
|
Match Address 127.0.0.*
|
||||||
PubkeyAuthentication yes
|
PubkeyAuthentication yes
|
||||||
|
|
||||||
Match Address 192.169.254.3
|
Match Address 192.169.254.2
|
||||||
PubkeyAuthentication yes
|
PubkeyAuthentication yes
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
|
@ -101,15 +101,17 @@ Adresse ipv6 publique : 2001:910:1360::2
|
||||||
AllowTcpForwarding yes
|
AllowTcpForwarding yes
|
||||||
GatewayPorts yes
|
GatewayPorts yes
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
|
|
||||||
PrintMotd no
|
PrintMotd no
|
||||||
|
|
||||||
TCPKeepAlive yes
|
TCPKeepAlive yes
|
||||||
|
|
||||||
PermitTunnel yes
|
PermitTunnel yes
|
||||||
|
|
||||||
AcceptEnv LANG LC_* GIT_*
|
AcceptEnv LANG LC_*
|
||||||
|
|
||||||
Subsystem sftp /usr/lib/openssh/sftp-server
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
||||||
|
|
||||||
|
|
||||||
Match Group ssh-pubkey
|
Match Group ssh-pubkey
|
||||||
PubkeyAuthentication yes
|
PubkeyAuthentication yes
|
||||||
|
|
||||||
|
@ -122,7 +124,6 @@ Adresse ipv6 publique : 2001:910:1360::2
|
||||||
|
|
||||||
Match Address 192.169.254.3
|
Match Address 192.169.254.3
|
||||||
PubkeyAuthentication yes
|
PubkeyAuthentication yes
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
### Configuration DRBD
|
### Configuration DRBD
|
||||||
|
|
Loading…
Reference in New Issue