Open baptistebisson opened 2 years ago
We could add a custom Description
field, I don't think that it will mess with ssh tools but it might not be a great idea to add features beyond sshconfig's schema.
Also I don't want to add another file because it will add unnecessary setup complexity :/
Thanks for the feedback.
I don't see any problem to add more complexity for "Advanced usage". The default parse of ssh config file will do the work and if we want to have more details, we only need to add a single configuration file.
It might be cleaner to use and parse comments in the SSH config file (to avoid conflicts with others binary that use this configuration file).
An example might be:
# sshs-desc: Owncloud, WordPress
Host app-web-prd04
It might be cleaner to use and parse comments in the SSH config file (to avoid conflicts with others binary that use this configuration file).
An example might be:
# sshs-desc: Owncloud, WordPress Host app-web-prd04
Even easier, I don't know why I thought that we can't use comment in this file.
First, thanks for this great tool !
The only thing that is missing for my usage is a description field. It's not always easy to remember which project is on which host.
Example:
We could search either on the hostname or the description field.
But this field is not available: https://linux.die.net/man/5/ssh_config
Is it possible ? Maybe it would require another config file ?