cyjake / ssh-config

📟 SSH config parser and stringifier
MIT License
78 stars 19 forks source link

IdentityAgent are not quoted where there are spaces #51

Closed Troublor closed 2 years ago

Troublor commented 2 years ago

37 aimed to add quotes to most of the fields, but IdentityAgent is not one of them.

It would be better to support IdentityAgent as well. IdentityAgent usually has spaces in the value when we use thrid-party ssh agents on MacOS, where many system directory path contains space, e.g., ~/Library/Group Containers for 1password ssh agent.

cyjake commented 2 years ago

@Troublor Thanks for reporting! fixed and released with v4.1.3