sshs
sshs copied to clipboard
Add the ability to ignore certain entries in the config file
If i have a file config with two entries like this :
Host gitlab
HostName gitlab.com
IdentityFile ~/.ssh/id_rsa
User bob
Host server
HostName server.com
IdentityFile ~/.ssh/id_rsa
User bob
When i execute sshs i want display only server. Is this possible ?
I guess splitting your servers into multiple config files and specifying the config for sshs wiht --config
would do the trick.
Like @DeltaLima said or you can use the search option:
sshs -s "server"
CEL could be implemented in search but I think that's a bit overkill.
Thank you, it's exactly what I needed!