Adding config options for ignoring hosts in SSH config by name or keyword #67
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds two options to the Shuttle config to deal with ignoring entries in the user's SSH config without having to ignore the entire file.
The first option is
ssh_config_ignore_hosts
which is a list of strings. If a host name matches any of these strings exactly, it will not be included in Shuttle's server list.server.example.com
only matchesserver.example.com
.The second is
ssh_config_ignore_keywords
which is another list of strings. If a host name contains any of these strings as a substring, it will not be included in Shuttle's server list.example
matchesserver.example.com
andexample.something.com
.This is my first attempt at Objective-C, so don't feel bad telling me if there is a better way to do something.
Fixes #63