Better space

main
sudo pacman -Syu 2021-08-14 21:46:20 +07:00 committed by GitHub
parent 44a3d716bd
commit 9cfdfa693e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 4 deletions

View File

@ -56,10 +56,18 @@ ssh-add ~/.ssh/id_ed25519
Copying public key to server: Copying public key to server:
Linux:
```sh ```sh
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@server-address ssh-copy-id -i ~/.ssh/id_ed25519.pub user@server-address
``` ```
Windows:
```powershell
cat ~/.ssh/id_ed25519.pub | ssh user@server-address "cat >> ~/.ssh/authorized_keys"
```
#### ssh-add #### ssh-add
Confirm key has been added: Confirm key has been added: