SSH use particular identity

stefanlex90
stefanlex90
Community Member

Hello, I'm trying to use particular key in order to ssh to particular host (Windows)
Steps:
1. Everything is configured and ssh-agent loads keys correctly from 1password
2. When i try to ssh on particular host 1password always offer key which I don't want to use
3. Tried to create ~.ssh\config, but 1password still ask for wrong key to authenticate

Desired behavior:
1. I want to ssh to the first item defined in ~.ssh\config -> ssh user@173.xxx.xxx.xxx
2. 1password should offer me to unlock private key for particular public key defined in config (not to ask always for the default one)


1Password Version: 1Password for Windows 8.10.20 (81020036)
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

Comments

  • stefanlex90
    stefanlex90
    Community Member

    This work fine on Linux, it looks like problem is happening because both keys have access to particular server and windows does not respect ~/.ssh/config file
    Looks like this is know issue Link
    "Windows doesn't have the same flexibility with the ~/.ssh/config file as macOS and Linux because Microsoft OpenSSH listens to a fixed pipe (\.\pipe\openssh-ssh-agent). If you want to use the 1Password SSH agent on Windows, you'll need to allow it to authenticate for all hosts."

This discussion has been closed.