Improved strongSwan and Debian server guides

This commit is contained in:
Sun Knudsen 2020-12-05 10:14:29 -05:00
parent deec119f01
commit 6e46d09d15
No known key found for this signature in database
GPG Key ID: 1FA767862BBD1305
2 changed files with 14 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Listed: true
## Guide
### Step 1: create `server` SSH key pair (on computer)
### Step 1: create SSH key pair (on computer)
When asked for file in which to save key, enter `server`.
@ -65,6 +65,8 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDP58i1vuFEe3zoHT+hZRh0YaXQY+ADa8OgBIoTji+A
Replace `185.112.147.115` with IP of server.
When asked for password, enter password from [step 1](#step-1-create-ssh-key-pair-on-computer).
```shell
ssh root@185.112.147.115 -i ~/.ssh/server
```
@ -128,6 +130,8 @@ exit
Replace `185.112.147.115` with IP of server.
When asked for password, enter password from [step 1](#step-1-create-ssh-key-pair-on-computer).
```shell
ssh server-admin@185.112.147.115 -i ~/.ssh/server
```
@ -304,6 +308,8 @@ exit
Replace `185.112.147.115` with IP of server.
When asked for password, enter password from [step 1](#step-1-create-ssh-key-pair-on-computer).
```shell
ssh server-admin@185.112.147.115 -i ~/.ssh/server
```

View File

@ -27,7 +27,7 @@ Listed: true
## Guide
### Step 1: create `vpn-server` SSH key pair (on Mac)
### Step 1: create SSH key pair (on Mac)
When asked for file in which to save key, enter `vpn-server`.
@ -70,6 +70,8 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCu4k9OcJlatGgUoo41m18Hekv+nSHq1w7qcuAuOZWL
Replace `185.193.126.203` with IP of server.
When asked for password, enter password from [step 1](#step-1-create-ssh-key-pair-on-mac).
```shell
ssh root@185.193.126.203 -i ~/.ssh/vpn-server
```
@ -133,6 +135,8 @@ exit
Replace `185.193.126.203` with IP of server.
When asked for password, enter password from [step 1](#step-1-create-ssh-key-pair-on-mac).
```shell
ssh vpn-server-admin@185.193.126.203 -i ~/.ssh/vpn-server
```
@ -341,6 +345,8 @@ exit
Replace `185.193.126.203` with IP of server.
When asked for password, enter password from [step 1](#step-1-create-ssh-key-pair-on-mac).
```shell
ssh vpn-server-admin@185.193.126.203 -i ~/.ssh/vpn-server
```