Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with SSH Include #30

Open
egelja opened this issue Sep 7, 2022 · 1 comment
Open

Does not work with SSH Include #30

egelja opened this issue Sep 7, 2022 · 1 comment

Comments

@egelja
Copy link

egelja commented Sep 7, 2022

System Details

  • posh-sshell version/path: 0.3.1 ~\Documents\WindowsPowerShell\Modules\posh-sshell\0.3.1
  • PowerShell version: 5.1.22000.832
  • OS: Microsoft Windows NT 10.0.22000.0
  • OpenSSH / Putty version: OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants