...
You can generate a keypair by (example using RSA) from your linux client with:
To generate a ssh key using the RSA algorithm (older, well-used with wide support):
Code Block | ||
---|---|---|
| ||
ssh-keygen -t rsa |
To generate an ssh key using ED25519 (newer, recommended):
Code Block | ||
---|---|---|
| ||
ssh-keygen -t ed25519 |
You can then copy and append the client-generated public key (*.pub) to the open ssh server. Or more specifically, to a server user's "~/.ssh/authorized_keys"
file:
...
- https://help.ubuntu.com/lts/serverguide/openssh-server.html
- https://linuxize.com/post/using-the-ssh-config-file/
- https://wiki.archlinux.org/index.php/SSH_keys
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...