summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-04-03 00:04:11 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2021-04-03 00:04:11 +0200
commit2c595911afdcb5deae4b9bae78c01b40f10dff28 (patch)
tree740e97700ce757d536fd9b5cd7227c3de1227b51
parent426dca357eb38654170f4f24fb5594c443351e78 (diff)
sshd: Allow SSH tunneling to the cluster machinesv0.5.0
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--etc/ssh/sshd_config6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config
index d2db6ea..39fc41d 100644
--- a/etc/ssh/sshd_config
+++ b/etc/ssh/sshd_config
@@ -4,7 +4,7 @@ AllowAgentForwarding no
#AllowGroups
AllowStreamLocalForwarding no
-AllowTcpForwarding no
+AllowTcpForwarding yes
AllowUsers ubuntu
AuthenticationMethods publickey
#AuthorizedKeysCommand
@@ -27,7 +27,7 @@ Compression yes
DebianBanner no
#DenyGroups
#DenyUsers
-DisableForwarding yes
+DisableForwarding no
ExposeAuthInfo no
FingerprintHash sha256
@@ -72,7 +72,7 @@ PasswordAuthentication no
PermitEmptyPasswords no
PermitListen none
-PermitOpen none
+PermitOpen manager0.alejandro-colomar.es:22 manager1.alejandro-colomar.es:22 manager2.alejandro-colomar.es:22 worker0.alejandro-colomar.es:22 worker1.alejandro-colomar.es:22 worker2.alejandro-coloomar.es:22
PermitRootLogin no
PermitTTY yes
PermitTunnel no