Skip to main content
Mar 13, 2023 3:49 PM UTC
Question

How to fall back to password authentication when using the SSH-Agent

Is there a way to fallback to password authentication and ignore the ssh-agent?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided

2 replies

floris_1P
1Password Employee
1Password Employee
Mar 13, 2023 4:23 PM UTC

Yes, you can use the PreferredAuthentications field in the SSH config. For example:

```
Host some-host-to-authenticate-with-server-password
PreferredAuthentications password

Host some-host-with-server-password-fallback
PreferredAuthentications publickey,password
```

Mar 13, 2023 5:17 PM UTC

Interesting, that has no affect for me.