Update readme to use hostname in ssh commands

This commit is contained in:
Dan Hughes 2020-02-04 21:37:55 +00:00
parent 2a668f2b0e
commit bc3047b22c
No known key found for this signature in database
GPG key ID: 60D7AE3919F16B1C

View file

@ -96,7 +96,7 @@ You can now set up clients to connect to your VPN. Proceed to [Configure the VPN
"# Local DNS resolver 172.16.0.1 #" "# Local DNS resolver 172.16.0.1 #"
"# The p12 and SSH keys password for new users is XXXXXXXX #" "# The p12 and SSH keys password for new users is XXXXXXXX #"
"# The CA key password is XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #" "# The CA key password is XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #"
"# Shell access: ssh -F configs/<server_ip>/ssh_config algo #" "# Shell access: ssh -F configs/<server_ip>/ssh_config <hostname> #"
``` ```
## Configure the VPN Clients ## Configure the VPN Clients
@ -159,7 +159,7 @@ Use the example command below to start an SSH tunnel by replacing `<user>` and `
Your Algo server is configured for key-only SSH access for administrative purposes. Open the Terminal app, `cd` into the `algo-master` directory where you originally downloaded Algo, and then use the command listed on the success message: Your Algo server is configured for key-only SSH access for administrative purposes. Open the Terminal app, `cd` into the `algo-master` directory where you originally downloaded Algo, and then use the command listed on the success message:
`ssh -F configs/<ip>/ssh_config algo` `ssh -F configs/<ip>/ssh_config <hostname>`
where `<ip>` is the IP address of your Algo server. If you find yourself regularly logging into the server then it will be useful to load your Algo ssh key automatically. Add the following snippet to the bottom of `~/.bash_profile` to add it to your shell environment permanently. where `<ip>` is the IP address of your Algo server. If you find yourself regularly logging into the server then it will be useful to load your Algo ssh key automatically. Add the following snippet to the bottom of `~/.bash_profile` to add it to your shell environment permanently.