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

phatmandrake
phatmandrake
Community Member
edited March 2023 in SSH

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

Comments

  • 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
    
  • phatmandrake
    phatmandrake
    Community Member
    edited March 2023

    Interesting, that has no affect for me.

This discussion has been closed.