16 lines
383 B
Markdown
16 lines
383 B
Markdown
# SSH Key erstellen
|
|
|
|
The algorithm is selected using the -t option and key size using the -b option. The following commands illustrate:
|
|
|
|
```
|
|
ssh-keygen -t rsa -b 4096
|
|
ssh-keygen -t dsa
|
|
ssh-keygen -t ecdsa -b 521
|
|
ssh-keygen -t ed25519
|
|
```
|
|
|
|
To upload a public key to a server use the following command:
|
|
|
|
```
|
|
ssh-copy-id -i ~/.ssh/id_rsa.pub YOUR_USER_NAME@IP_ADDRESS_OF_THE_SERVER
|
|
```
|