Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoI've loaded an ssh key and have the config file set to trap for all hosts but not working
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
- Former Member
🤦♂️ 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
- XIIISuper Contributor
Maybe it's just a "typo", but you need to put your public key on the remote server; not the private key.
- jorhettFrequent Contributor
Try setting
SSH_AUTH_SOCK
rather than the config file.