cyjake / ssh-config

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

= in ProxyCommand are lost #84

Closed roblourens closed 4 weeks ago

roblourens commented 2 months ago

The config now looks like

Host YYYY
  HostName YYYY
  IdentityFile ~/.ssh/id_rsa
  StrictHostKeyChecking no
  UserKnownHostsFile /dev/null
  ProxyCommand ssh -i ~/.ssh/id_rsa -W %h:%p -o StrictHostKeyChecking no -o UserKnownHostsFile /dev/null XXX@ZZZ
  User XXX

the = have been removed from ProxyCommand. If I start with the command in double quotes, it doesn't remove the = but it does remove the quotes.

cyjake commented 1 month ago

it looks like the directive value ast needs to be changed to fix this issue, I'll release a major version later

QiuMP commented 1 month ago

Any update about this issue?

cyjake commented 4 weeks ago

v5.0.0 released