Forum Discussion
SSH agent not working - always only ssh password
Sounds like maybe a configuration issue with SSH public key authentication for the user and host you're ssh'ing to?
Assuming you have your SSH public key configured properly to login to internal-host, adding -v option to the ssh command (e.g., ssh -Tv me@internal-host) will enable verbose logging for SSH and give you some idea of what the problem is.
Personally, I find it easier to set the environment variable SSH_AUTH_SOCK in my login shell, rather than adding it to ~/.ssh/config. You might try this as an alternative way to use 1Password's SSH Agent:
shell
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
You should be able to list the SSH keys stored in 1Password's SSH agent using:
SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ssh-add -l
If the above command successfully lists your SSH keys stored in 1Password, then try using the SSH_AUTH_SOCK environment variable with the ssh command.