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

cannot specify a Host setting with a wildcard for ssh::ssh_config #425

Open
bwitt opened this issue Aug 9, 2024 · 2 comments
Open

cannot specify a Host setting with a wildcard for ssh::ssh_config #425

bwitt opened this issue Aug 9, 2024 · 2 comments
Labels

Comments

@bwitt
Copy link

bwitt commented Aug 9, 2024

I can't seem to add a Host entry for ssh::ssh_config that has a wildcard.

That seems to be because that entry is required to be a stdlib::host (stdlib::host docs here) which can only be an ip address, fqdn, or short hostname.

The SSH client accepts things that have a wildcard; could the module accept that here? could this just be a String?

@ghoneycutt
Copy link
Owner

Stdlib::Host allows for short names. Could you provide the name you are attempting?

@bwitt
Copy link
Author

bwitt commented Dec 6, 2024

sorry I actually meant a Host entry with a wildcard like this does not work

Host: *.example.com
ForwardAgent: 'yes'

a Host entry with just a shortname does seem to work.

@bwitt bwitt changed the title cannot specify non-fqdn Host setting for ssh::ssh_config cannot specify a Host setting with a wildcard for ssh::ssh_config Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants