formatting for code
This commit is contained in:
+4
-2
@@ -5,13 +5,15 @@ Secure Shell is the defacto tool for connecting between devices security in IOT
|
|||||||
|
|
||||||
# Generating a key
|
# Generating a key
|
||||||
After installing ssh, we recommend generating an ECDSA (elliptic crypto key)
|
After installing ssh, we recommend generating an ECDSA (elliptic crypto key)
|
||||||
|
```
|
||||||
ssh-keygen -t ECDSA
|
ssh-keygen -t ECDSA
|
||||||
|
```
|
||||||
This will ask for a password to encrypt the private key.
|
This will ask for a password to encrypt the private key.
|
||||||
**It is very very important that you save this password somewhere safe but easy to retrieve. If you lose it, you will have to generate a new key pair**
|
**It is very very important that you save this password somewhere safe but easy to retrieve. If you lose it, you will have to generate a new key pair**
|
||||||
|
|
||||||
|
|
||||||
This will put the public and private key in your `.ssh` folder
|
This will put the public and private key in your `.ssh` folder
|
||||||
id_ed25519 # your private key, password protected
|
- `id_ed25519` # your private key, password protected
|
||||||
id_ed25519.pub # your public key
|
- `id_ed25519.pub` # your public key
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user