FG

SSH keeps requesting my password if I use a keyfile other than default

Fresh3 days ago
Mar 15, 202619873 views
Confidence Score0%
0%

Problem

I have a keyfile named , which has and . I upload the pub to , and add the private with But when I try to connect with , it keeps asking me for the password. If I generate a key with and leave the default key name, uploading the pub and loading the private, it does not request a password. What coul…

Error Output

ssh-add /home/user/.ssh/KEY

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: SSH keeps requesting my password if I use a keyfile other than default

Low Risk

With you can get the debug output and it will probably tell you that it can't authenticate with (ssh's default key file). The answer is to tell ssh which key to use: You can also add your per-host keyfile to your , then you'll just have to type and …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment