website/docs: add docs for advanced SSH config

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#2916
This commit is contained in:
Jens Langhammer
2022-05-21 13:06:54 +02:00
parent 2dee8034d3
commit 6f56a61a64
2 changed files with 7 additions and 1 deletions

View File

@ -72,3 +72,9 @@ You'll end up with three files:
Modify/create a new Docker integration, and set your _Docker URL_ to `ssh://hostname`, and select the keypair you created above as _TLS Authentication Certificate/SSH Keypair_.
The _Docker URL_ field include a user, if none is specified authentik connects with the user `authentik`.
#### Advanced SSH config
With the above configuration, authentik will create and manage an `~/.ssh/config` file. If you need advanced configuration, for example SSH Certificates, you can mount a custom SSH Config file.
Mount the config file into `/authentik/.ssh/config`, and mount any other relevant files into a directory under `/opt`. Afterwards, create an integration using `ssh://hostname`, and don't select a keypair.