Generating an SSH key
If ssh user@host asks you for a password, you do not have a usable key for that host yet. Here is the 5-minute fix.
On your local machine
Generate a modern Ed25519 key:
ssh-keygen -t ed25519 -C "your-email@example.com"Press Enter to accept the default path (~/.ssh/id_ed25519). When asked for a passphrase: enter one. The plugin works with passphrase-protected keys when you use SSH agent auth.
Add it to your agent
# macOS / Linux
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519# Windows (one-time)
Get-Service ssh-agent | Set-Service -StartupType Automatic
Start-Service ssh-agent
ssh-add $HOME\.ssh\id_ed25519The agent unlocks the key once per session; subsequent ssh calls (and the plugin) won’t re-prompt.
Copy the public key to the remote
ssh-copy-id user@hostOn Windows / hosts without ssh-copy-id, the manual form:
cat ~/.ssh/id_ed25519.pub | ssh user@host \
'mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys'Verify
ssh user@host "echo it works"You should NOT be asked for a password.
In the plugin
Profile Authentication:
- SSH agent — preferred. The agent has the unlocked key in memory; the plugin never sees the passphrase.
- Private key — point at
~/.ssh/id_ed25519. The plugin prompts for the passphrase once per connect.
Hardware-key alternatives
Anything ssh-agent can sign with works. Common setups:
- YubiKey / Nitrokey — set up
ssh-add -K(resident key) or use the OpenSSHsk-ssh-ed25519key type. Then pick SSH agent in the plugin. - Apple Secure Enclave —
ssh-keygen -t ed25519-sk -O residentrequires a TouchID prompt; pair with thessh-agentdaemon shipped with macOS.
See also
- User guide → SSH config & keys
- Host-key trust — the OTHER half of “how does the plugin know it’s talking to the right host”