beeradmoore / 1Password-SSH-assistant

Generates configs for use in ~/.ssh/config and agent.toml
0 stars 0 forks source link

Windows does not seem to like the IdentityAgent, should be removed #8

Open beeradmoore opened 4 hours ago

beeradmoore commented 4 hours ago

Based on the text here

On Mac and Linux, ... ... However, not every SSH client adheres to every value in the SSH config file. ...

I assume that means Windows OpenSSH may behave badly. Looking down at the OpenSSH support for Windows it says:

  • Support for using the agent over the OpenSSH pipe (\.\pipe\openssh-ssh-agent).

I take from this that IdentityAgent should not be in the Windows config as Windows OpenSSH is already looking at the \\.\pipe\openssh-ssh-agent.

On my own Windows PC with IdentityAgent added I get invalid format of my public key when trying to connect to things. Removing this line appears to make it work fine. However I confirmed on a different PC that this does not appear to be happening to them. Maybe my 1Password updated, maybe my OpenSSH updated?

beeradmoore commented 4 hours ago

Yes, it appears OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3 did not have the issue, but now with OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2 I do have the issue.