dahlbyk / posh-sshell

PowerShell helpers for SSH (previously part of posh-git.)
MIT License
142 stars 8 forks source link

Does not work with SSH `Include` #30

Open egelja opened 2 years ago

egelja commented 2 years ago

System Details

Issue Description

I've broken my SSH config into a few files, and bring them together into .ssh/config using the Include directive. However, when running Connect-SSH, posh-sshell only picks up the hosts I've directly listed in my config file. It should follow the Includes and find the hosts from those files too.

JeremySkinner commented 2 years ago

The config file parser that's included as part of posh-sshell is only a limited/simple parser of the root config file, and it doesn't follow links to included files.

I'm no longer working on posh-sshell as I don't use powershell/pwsh anymore (and haven't for several years) so this isn't something that I'll be adding I'm afraid.