Compare commits

...

2 Commits

Author SHA1 Message Date
2713df2804
Added suggestion to enable quiet mode for ssh client
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m53s
2025-04-18 18:29:51 +02:00
8d703167fb
Updates authelia acl helper
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m38s
2025-04-18 16:17:11 +02:00
2 changed files with 11 additions and 13 deletions

View File

@ -29,7 +29,7 @@ This deployment runs in a cluster with [Authelia](https://github.com/authelia/au
A tunnel can be opened using the following command: A tunnel can be opened using the following command:
``` ```
ssh <username>@<host> [-p <ssh port>] -t -R <local port>:localhost:<local port> ssh <username>@<host> [-p <ssh port>] -tq -R <local port>:localhost:<local port>
``` ```
This will open a new tunnel with a randomly generated name, you can specify a name for the tunnel by instead using `-R <name>:<local port>:localhost:<local port>`. This will open a new tunnel with a randomly generated name, you can specify a name for the tunnel by instead using `-R <name>:<local port>:localhost:<local port>`.
@ -44,10 +44,11 @@ To make connecting slightly easier I recommend adding the following to `~/.ssh/c
``` ```
Host tunnel Host tunnel
HostName <host> HostName <host>
Port <ssh port> Port <ssh port>
User <username> User <username>
RequestTTY yes RequestTTY yes
LogLevel QUIET
``` ```
You can now connect with `ssh tunnel -R <local port>:localhost:<local port>`. You can now connect with `ssh tunnel -R <local port>:localhost:<local port>`.

View File

@ -1,10 +1,7 @@
apiVersion: v1 apiVersion: authelia.huizinga.dev/v1
kind: ConfigMap kind: AccessControlRule
metadata: metadata:
name: authelia-acl name: tunnel-dev
annotations: spec:
config.huizinga.dev/fragment: authelia-acl domain: "*.tunnel.huizinga.dev"
data: policy: one_factor
rules: |
- domain: "*.tunnel.huizinga.dev"
policy: one_factor