Skip to content

Commit 9744295

Browse files
authored
Merge pull request #437 from uselagoon/docs-sshkey-config
docs: add some information about the ssh key flags for config
2 parents 85ee6ac + 6a476d1 commit 9744295

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/config.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ If you want to add a different Lagoon context to use, then you can use the CLI c
3131
```bash
3232
lagoon config add --lagoon example
3333
```
34+
35+
It is also possible to set an SSH key or public key identity file to use when adding (or updating) a context.
36+
37+
The flag `--publickey-identityfile /path/to/key.pub` can be used to tell the CLI which public key identity in your SSH agent should be used.
38+
39+
The flag `--ssh-key /path/to/key` can be used to tell the CLI which SSH private key should be used.
40+
41+
For troubleshooting, see [troubleshooting SSH keys](./troubleshooting.md#ssh-keys)
42+
3443
## Example
3544
```bash
3645
lagoon config add --lagoon amazeeio \

0 commit comments

Comments
 (0)