diff --git a/content/security/ssh-key.md b/content/security/ssh-key.md index 7d21585..43506ac 100644 --- a/content/security/ssh-key.md +++ b/content/security/ssh-key.md @@ -77,7 +77,13 @@ be prompted to touch it to continue. 1. Copy the SSH key to your clipboard. You must only copy the public key not the private one. You can identify it by the `.pub` suffix. By default, you can find the public key in `$HOME/.ssh/id_ed25519.pub`. - On Linux you can use `xclip` on the command line. You may need to install it from your package manager. + On Linux, assuming you are using Wayland, you can use `wl-copy` on the command line. You may need to install `wl-clipboard` from your package manager. + + ```shell + wl-copy -t text/plain < ~/.ssh/id_ed25519.pub + ``` + + If your system uses X11, use `xclip` instead. Again, you may need to install it. ```shell xclip -selection clipboard < ~/.ssh/id_ed25519.pub