Standardized SSH commands

This commit is contained in:
Sun Knudsen 2022-02-16 15:59:08 -05:00
parent 35ea7a7b16
commit 2138d9d5a8
No known key found for this signature in database
GPG key ID: 02C43AD072D57783
7 changed files with 18 additions and 18 deletions

View file

@ -70,7 +70,7 @@ Replace `185.112.147.115` with IP of server.
When asked for passphrase, enter passphrase from [step 1](#step-1-create-ssh-key-pair-on-computer).
```shell
ssh root@185.112.147.115 -i ~/.ssh/server
ssh -i ~/.ssh/server root@185.112.147.115
```
### Step 3: disable root Bash history
@ -139,7 +139,7 @@ Replace `185.112.147.115` with IP of server.
When asked for passphrase, enter passphrase from [step 1](#step-1-create-ssh-key-pair-on-computer).
```shell
ssh server-admin@185.112.147.115 -i ~/.ssh/server
ssh -i ~/.ssh/server server-admin@185.112.147.115
```
### Step 9: disable server-admin Bash history
@ -264,7 +264,7 @@ Replace `185.112.147.115` with IP of server.
When asked for passphrase, enter passphrase from [step 1](#step-1-create-ssh-key-pair-on-computer).
```shell
ssh server-admin@185.112.147.115 -i ~/.ssh/server
ssh -i ~/.ssh/server server-admin@185.112.147.115
```
#### Switch to root