0

I recently added a ~/.ssh/id_dsa file to my local machine (via ssh-keygen -t dsa). When I use ssh-copy-id to copy the key to another target, the ssh-copy-id command appears to succeed. The DSA key is present on the target (~/.ssh/authorized_keys).

However, ssh still prompts me for a password.

If I delete ~/.ssh/id_dsa* and run ssh-copy-id again, it copies the RSA key instead, and ssh does not prompt me for a password.

Is this expected, and if so, how do I fix it?

  • https://askubuntu.com/a/777397 might be the answer – lord_nimon Sep 14 '21 at 03:59