Fixed SSH issues in strongSwan guide

This commit is contained in:
Sun Knudsen 2020-08-17 16:44:39 -04:00
parent 8e272e930b
commit 631885ad2f
No known key found for this signature in database
GPG Key ID: 1FA767862BBD1305

View File

@ -66,14 +66,6 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCu4k9OcJlatGgUoo41m18Hekv+nSHq1w7qcuAuOZWL
Replace `185.193.126.203` with IP of server.
If server uses password authentication, run the following and type in password.
```shell
ssh root@185.193.126.203
```
If server uses public key authentication, run the following and type in passphrase.
```shell
ssh root@185.193.126.203 -i ~/.ssh/vpn-server
```
@ -129,7 +121,7 @@ exit
Replace `185.193.126.203` with IP of server.
```shell
ssh vpn-server-admin@185.193.126.203 -i .ssh/vpn-server
ssh vpn-server-admin@185.193.126.203 -i ~/.ssh/vpn-server
```
### Step 8: switch to root
@ -328,7 +320,7 @@ exit
Replace `185.193.126.203` with IP of server.
```shell
ssh vpn-server-admin@185.193.126.203 -i .ssh/vpn-server
ssh vpn-server-admin@185.193.126.203 -i ~/.ssh/vpn-server
```
#### Switch to root