-
Notifications
You must be signed in to change notification settings - Fork 65
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
Translate ssh-config rules and don't simply replicate #46
Comments
Hi @caffeineflo. As far as I understand, you want to translate a ssh-config rules setup into groups and hosts in termius. It seams a great idea! But I doubt with naming such groups. I believe, the simplest solution is to use the same name as the ssh-config rules. What do you think? |
Not to hijack this or anything but I would like to bring hosts into groups as well as pre-save the identity to be used. Is there a syntax for this? Importing from Linux .ssh/config. The identity things is minor compared to importing to the proper groups (I have hundreds of sessions). Maybe something like:
|
That bugs me as well. I have already implemented grouping through comment tag in #125 and I want to implement these wildcard hosts as well. I use wildcard hosts quite extensively. I am going to extract all wildcard host's configuration options into group options. If there is a group tag attached to this wildcard hosts, I will translate the group tag into group name which gets configuration options of this wilcard host.. Otherwise, I will try to come up with same neat naming convention derived from the wildcard name :-) |
I have a couple of ssh-config rules setup, e.g.
Host *
andHost name-*
I would assume that these rules would be applied to the individual hosts they correspond to at the time of sync, yet the sync simply added a new host for each of those rules to my list of hosts when synced.
Another thing that this sync issue brought is that I now have the same pem file over 100 times added as an identity as I had a rule setup using that exact pem file for a couple of hosts ...
The text was updated successfully, but these errors were encountered: