On Mon, 23 Nov 2026, Rich Shepard wrote:

I used `ssh-add' on both the desktop and laptop, adding my host-specific
passphrase to each. Yet, when I use scp to copy files between the two hosts
each one asks for my passphrase.

Where should I look for the reason?

First, verify that your key is loaded by running

ssh-add -l

Second, verify you have an authorization socket in your shell environment:

echo $SSH_AUTH_SOCK

Third, search ssh debug output for "Authentications that can continue:" and verify that "publickey" is listed:

ssh -v your.remote.host

That's where I'd start.

--
Paul Heinlein
[email protected]
45°22'48" N, 122°35'36" W

Reply via email to