Forum Discussion

Former Member's avatar
Former Member
3 years ago

Starting with SSH keys. What am i doing wrong?

I have three servers, server1, server2 and server3.
Each server has a different ssh key assigned, in 1password called server1, server2 and server3.
I open iTerm2 with three panes. In each pane i ssh into each server: pane 1 ssh root@server1, in pane 2 ssh root@server2 and in pane 3 ssh root@server3
What i am expecting is for each session 1Password to pop up and fill in the ssh key for each server.
This does happen for server1, but for server2 and 3 i get Too many authentication failures without 1Password popping up. I suspect that iTerm is using the ssh key from server1 to log in to server2 and server3.
Is this the case and if so, how can i prevent this?


1Password Version: 1Password for Mac 8.9.11 (80911019)
Extension Version: 2.5.1
OS Version: MacOS 13.0.1
Browser:_ iTerm2
Referrer: forum-search:https://1password.community/search?Search=Starting%20with%20SSH%20keys.%20What%20am%20i%20doing%20wrong%3F

2 Replies

  • Jack_P_1P's avatar
    Jack_P_1P
    Icon for 1Password Team rank1Password Team

    Hi @TonMachielsen:

    Do you happen to have more than 6 SSH keys stored in 1Password?

    Jack

  • Former Member's avatar
    Former Member

    Ok, let me answer my own question. I found in https://1password.community/discussion/128540/ability-to-specify-which-key-to-use-otherwise-too-many-authentication-failures#latest that 1Password is not working the way i expected it to work. Bummer.
    Downloading public keys and manually sticking them in a .ssh/config file is not the best user experience in the world. I would have expected that the 1Password SSH agent to know its way around this.