Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Lachy
4 years agoOccasional Contributor
ssh-copy-id functionality
Without the private key files in ~/.ssh/ , it's less convenient to use ssh-copy-id to put public keys onto servers. It would be useful if 1Password provided an easy solution for this, perhaps UI b...
K_J__1P
1Password Team
4 years agoHello! I have no used ssh-copy-id
, but from the docs it should use ssh-add -L
to look for keys in the agent:
Otherwise, if this: ssh-add -L provides any output, it uses that in preference to the identity file.
SSH for 1Password 8 supports ssh-add -L
, however, at least on my machine, it won't read an IdentityAgent
from ~/.ssh/config
and requires the SSH_AUTH_SOCK
environment variable set.
SSH_AUTH_SOCK="$HOME/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock" ssh-add -L
I tested ssh-copy-id
locally with the environment variable and it was able to successfully add a new key.
Are you able to test this environment variable with ssh-copy-id
? Thanks!