diff --git a/README.md b/README.md index c044d3da..263bf763 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,14 @@ where `` 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 /configs/*/ssh_config +``` + +where `` 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. diff --git a/server.yml b/server.yml index fb472f09..99ffa372 100644 --- a/server.yml +++ b/server.yml @@ -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'