Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
wavesound
2 years agoDedicated Contributor
SSH Agent breaks username/password SSH Authentication
Starting recently, 1Password broke SSH for servers that use basic username/password authentication. These servers do not have credentials in 1Password and I don't want to store them in 1Password.
...
floris_1P
1Password Team
2 years agoYou're getting this error because ssh
first tries to authenticate with every key you have in the agent, and only then falls back to username/password authentication method. But also: the default SSH server configuration states that you only have 6 authentication tries in total, which can be a problem if you have too many keys in the agent.
The good news is that you can control which authentication mechanism gets used first, using the PreferredAuthentications
SSH config directive. For example, if certain hosts only support username/password auth, you can disable publickey
authentication for these hosts and have them only use password
authentication:
Host somehost
PreferredAuthentications password