notes: add ssh-keygen command
This commit is contained in:
parent
698a01b8ac
commit
5a6fed27cf
1 changed files with 6 additions and 0 deletions
|
@ -9,3 +9,9 @@ If you want to get key for the current machine you can use the following code
|
||||||
```sh
|
```sh
|
||||||
ssh-keyscan localhost
|
ssh-keyscan localhost
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Generate new ssh key
|
||||||
|
|
||||||
|
```
|
||||||
|
ssh-keygen -t ed25519 -C "bob@example.com"
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue