Conversation
Viknet
commented
Mar 13, 2025
- Interpolation of Tokens for properties "HostName", "IdentityAgent", "IdentityFile", "ProxyCommand":
- Better parsing Host section line, when it has several values:
- Type safety for computed HostConfiguration
|
I found the extension was unable to parse my # Global options
IdentitiesOnly yes
# Domain options
Host *.domain.com
IdentityFile ~/.ssh/id1
IdentityFile ~/.ssh/id2
IdentityFile ~/.ssh/id3
# Host options
Host host1
Hostname host1.domain.com
User user1
Port port1In the terminal I found that if I made a new config block with all the required options, ℯ.ℊ.: Host vsc-host1
IdentitiesOnly yes
IdentityFile ~/.ssh/id1
IdentityFile ~/.ssh/id2
IdentityFile ~/.ssh/id3
Hostname host1.domain.com
User user1
Port port1then tell the extension to connect to "vsc-host1" it will work properly without asking for a password. Does your pull request address this, so connecting to "host1" works as expected, and no need for separate "vsc-host1" config block? Or, I have a different issue I should report separately?Thanks! |