We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My .ssh/config has a lot of entries like
GroupNameA-ServerName1 GroupNameA-ServerName2 GroupNameA-ServerName3 GroupNameB-ServerName1 GroupNameB-ServerName2 GroupNameB-ServerName3
It’d be cool to have an option for sshs like --grouping where all similar named "GroupNameX" are in collapsable folders like:
--grouping
GroupNameA--Servername1 ……………………………-Servername2 ……………………………-Servername3 GroupNameB+-[3 entries]
GroupNameA--Servername1
……………………………-Servername2
……………………………-Servername3
GroupNameB+-[3 entries]
So GroupNameA is uncollapsed here, and GroupNameB collapsed, hiding another 3 entries prefixed with GroupNameB.
See also #21 - may has a weak dependency.
The text was updated successfully, but these errors were encountered:
I like this feature! --grouping could require a pattern like --grouping "%s-%s" so everyone can use their specific format. What do you think?
--grouping "%s-%s"
Sorry, something went wrong.
Even better, good suggestion and gives some more flexibility. I hope it doesn’t add too much complexity.
Could it be the same with a nested configuration : ~/.ssh/config.d/ |-GroupName-1 |-GroupName-2 Each files "GroupName-x" contain a list of hosts ?
quantumsheep
No branches or pull requests
My .ssh/config has a lot of entries like
GroupNameA-ServerName1
GroupNameA-ServerName2
GroupNameA-ServerName3
GroupNameB-ServerName1
GroupNameB-ServerName2
GroupNameB-ServerName3
It’d be cool to have an option for sshs like
--grouping
where all similar named "GroupNameX" are in collapsable folders like:GroupNameA--Servername1
……………………………-Servername2
……………………………-Servername3
GroupNameB+-[3 entries]
So GroupNameA is uncollapsed here, and GroupNameB collapsed, hiding another 3 entries prefixed with GroupNameB.
See also #21 - may has a weak dependency.
The text was updated successfully, but these errors were encountered: