Better space
parent
44a3d716bd
commit
9cfdfa693e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue