Not mentioned in the readme and on -h. And quite confused for its use. Because I have several server clusters.
How do I add an alias to a group?
Or, what is the correct sshch.conf syntax for group members?
What is the difference between the host that has or not in the group in the sshch window?
Will the member group also be in bash autocompletion?
Thank you for developing such this great tool 👍
Author: @fauzie
Not mentioned in the readme and on `-h`. And quite confused for its use. Because I have several server clusters.
How do I add an alias to a group?
Or, what is the correct `sshch.conf` syntax for group members?
What is the difference between the host that has or not in the group in the sshch window?
Will the member group also be in bash autocompletion?
Thank you for developing such this great tool :+1:
@fauzie
0. https://gitlab.com/zlax/sshch - please use this sources. It is version with bugfixes. On Microsoft Github i will update this repository with next release maybe.
How do I add an alias to a group?
In curses interface:
Press g
Enter groupname f.e. gr1 and press Enter
Enter aliases of this group f.e. al1 al2 (Space is separator) and press Enter
If aliases exist, they will appear in groups. If not, you can create those later.
In cmd interface, similarly:
sshch -g gr2
Enter aliases of this group f.e. al2 al3 al4 (Space is separator) and press Enter
It will be the result:
Or, what is the correct sshch.conf syntax for group members?
Correct sshsh.conf of this example:
[gr1]
group = al1 al2
[al1]
exec_string = ssh test
[al2]
exec_string = ssh test
[gr2]
group = al2 al3 al4
[al3]
exec_string = ssh test
[al4]
exec_string = ssh test
You can change the displayed order by editing this file.
Will the member group also be in bash autocompletion?
Yes.
In case of calling a command to be executed on a group of aliases, the command will be executed one by one on hosts, in the displayed order.
Thank you for developing such this great tool +1
Please close this issue if i answered to your questions.
Author: @zlaxy
@fauzie
0. https://gitlab.com/zlax/sshch - please use this sources. It is version with bugfixes. On Microsoft Github i will update this repository with next release maybe.
> How do I add an alias to a group?
In curses interface:
1. Press `g`
2. Enter groupname f.e. `gr1` and press `Enter`
3. Enter aliases of this group f.e. `al1 al2` (`Space` is separator) and press `Enter`
If aliases exist, they will appear in groups. If not, you can create those later.
In cmd interface, similarly:
1. `sshch -g gr2`
2. Enter aliases of this group f.e. `al2 al3 al4` (`Space` is separator) and press `Enter`
It will be the result:

> Or, what is the correct `sshch.conf` syntax for group members?
Correct `sshsh.conf` of this example:
```
[gr1]
group = al1 al2
[al1]
exec_string = ssh test
[al2]
exec_string = ssh test
[gr2]
group = al2 al3 al4
[al3]
exec_string = ssh test
[al4]
exec_string = ssh test
```
You can change the displayed order by editing this file.
> Will the member group also be in bash autocompletion?
Yes.
In case of calling a command to be executed on a group of aliases, the command will be executed one by one on hosts, in the displayed order.
> Thank you for developing such this great tool +1
Please close this issue if i answered to your questions.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Author: @fauzie
Not mentioned in the readme and on
-h. And quite confused for its use. Because I have several server clusters.How do I add an alias to a group?
Or, what is the correct
sshch.confsyntax for group members?What is the difference between the host that has or not in the group in the sshch window?
Will the member group also be in bash autocompletion?
Thank you for developing such this great tool 👍
Author: @zlaxy
@fauzie
0. https://gitlab.com/zlax/sshch - please use this sources. It is version with bugfixes. On Microsoft Github i will update this repository with next release maybe.
In curses interface:
ggr1and pressEnteral1 al2(Spaceis separator) and pressEnterIf aliases exist, they will appear in groups. If not, you can create those later.
In cmd interface, similarly:
sshch -g gr2al2 al3 al4(Spaceis separator) and pressEnterIt will be the result:

Correct
sshsh.confof this example:You can change the displayed order by editing this file.
Yes.
In case of calling a command to be executed on a group of aliases, the command will be executed one by one on hosts, in the displayed order.
Please close this issue if i answered to your questions.
Author: @fauzie
thank you very much.