Skip to main content
March 13, 2023
Question

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

  • March 13, 2023
  • 2 replies
  • 567 views

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
March 13, 2023

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
```

March 13, 2023

Interesting, that has no affect for me.