Skip to content

Conversation

@hongquan
Copy link
Contributor

Sometimes, we have so many SSH servers that divide to extra config files and include in ~/.ssh/config

This PR follow the Include directive to retrieve more hosts.

Example of such config:

Include extra/agriconnect
Include "extra/Old servers"

This PR also fix an issue that orginal code grabs this:

Host *

@fdncred fdncred merged commit 8c21f6e into nushell:main Dec 14, 2024
1 check passed
@fdncred
Copy link
Contributor

fdncred commented Dec 14, 2024

Thanks

NotTheDr01ds pushed a commit to NotTheDr01ds/nu_scripts-fork that referenced this pull request Dec 20, 2024
Sometimes, we have so many SSH servers that divide to extra config files
and include in *~/.ssh/config*

This PR follow the `Include` directive to retrieve more hosts.

Example of such config:

```ssh_config
Include extra/agriconnect
Include "extra/Old servers"
```

This PR also fix an issue that orginal code grabs this:

```ssh_config
Host *
```
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

Successfully merging this pull request may close these issues.

2 participants