mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-18 07:07:08 +02:00
Use absolute path for identityfile in ssh config (#1718)
* Use absolute path for identityfile in ssh config * Update readme with ssh config include
This commit is contained in:
parent
dcfed41ae8
commit
5c09d6dd02
2 changed files with 9 additions and 1 deletions
|
@ -165,6 +165,14 @@ where `<ip>` is the IP address of your Algo server. If you find yourself regular
|
|||
|
||||
`ssh-add ~/.ssh/algo > /dev/null 2>&1`
|
||||
|
||||
Alternatively, you can choose to include the generated configuration for any Algo servers created into your SSH config. Edit the file `~/.ssh/config` to include this directive at the top:
|
||||
|
||||
```
|
||||
Include <algodirectory>/configs/*/ssh_config
|
||||
```
|
||||
|
||||
where `<algodirectory>` is the directory where you cloned Algo.
|
||||
|
||||
## Adding or Removing Users
|
||||
|
||||
_If you chose to save the CA key during the deploy process,_ then Algo's own scripts can easily add and remove users from the VPN server.
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
HostName {{ IP_subject_alt_name }}
|
||||
User {{ ansible_ssh_user }}
|
||||
Port {{ ansible_ssh_port }}
|
||||
IdentityFile {{ SSH_keys.private }}
|
||||
IdentityFile {{ SSH_keys.private | realpath }}
|
||||
KeepAlive yes
|
||||
ServerAliveInterval 30
|
||||
when: inventory_hostname != 'localhost'
|
||||
|
|
Loading…
Add table
Reference in a new issue