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

@ -28,10 +28,10 @@ Create “A” record (example: meet.sunknudsen.com) that points to IP of server
### Step 2: log in to server
Replace `server-admin@185.193.126.203` with server SSH URL and `~/.ssh/server` with path to associated private key.
Replace `~/.ssh/server` with path to private key and `server-admin@185.193.126.203` with server SSH destination.
```shell
ssh server-admin@185.193.126.203 -i ~/.ssh/server
ssh -i ~/.ssh/server server-admin@185.193.126.203
```
### Step 3: switch to root