Skip to main content
July 17, 2022
Question

I've loaded an ssh key and have the config file set to trap for all hosts but not working

  • July 17, 2022
  • 3 replies
  • 88 views

I believe I've configured 1Password correctly. I have imported a private key to a remote server, the ssh config has the catch-all for hosts to use the 1password sock yet when I try and ssh from the command line to my remote server its falling back to the password authentication. Am I missing something? Why isn't prompting through 1Password?


1Password Version: 8.7.3
Extension Version: Not Provided
OS Version: 13.0
Browser:_ Not Provided
Referrer: forum-search:https://1password.community/search?Search=ssh%20not%20referencing%201password

3 replies

July 18, 2022

Try setting SSH_AUTH_SOCK rather than the config file.

XIII
July 19, 2022

Maybe it's just a "typo", but you need to put your public key on the remote server; not the private key.

https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server

July 19, 2022

🤦‍♂️ Aah yep, definitely a typo there. The PUBLIC key has gone to the server. Don't know what I was thinking there but certainly didn't proof read before I fired it off. Thanks for the spot @XIII