Compare commits
No commits in common. "main" and "main" have entirely different histories.
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ Edit `/etc/ssh/sshd_config` and set `PermitRootLogin no` or if you really need r
|
||||||
Create a new key pair on your client:
|
Create a new key pair on your client:
|
||||||
|
|
||||||
```
|
```
|
||||||
ssh-keygen -t ed25519 -a 100
|
ssh-keygen -b 4096
|
||||||
```
|
```
|
||||||
|
|
||||||
Remember the path and password you choosed. Append the created public key from `/<your-path>/<key-name>.pub` on your client in the `/home/<user>/.ssh/authorized_keys` on your server. Alternatively you can use the command `ssh-copy-id` on your local client. For this command you can do the following:
|
Remember the path and password you choosed. Append the created public key from `/<your-path>/<key-name>.pub` on your client in the `/home/<user>/.ssh/authorized_keys` on your server. Alternatively you can use the command `ssh-copy-id` on your local client. For this command you can do the following:
|
||||||
|
|
Loading…
Reference in a new issue