|
|
|
@ -15,7 +15,7 @@ mkdir ~/.ssh && chmod 700~/.ssh
|
|
|
|
|
### Create SSH keys on your client |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
ssh-keygen -t rsa -b 4096 -C "email@domain.com" |
|
|
|
|
ssh-keygen -t ed25519 -C "email@domain.com" |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
### Copy key to a remote server |
|
|
|
@ -40,4 +40,4 @@ Note about git: I have noticed that you need to generate keys for both your user
|
|
|
|
|
|
|
|
|
|
### Login to remote server using your key |
|
|
|
|
|
|
|
|
|
`ssh username@ip_address` |
|
|
|
|
`ssh username@ip_address` |
|
|
|
|