Skip to content
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

Adding config options for ignoring hosts in SSH config by name or keyword #67

Merged
merged 2 commits into from
Nov 27, 2013

Conversation

mpdavis
Copy link
Contributor

@mpdavis mpdavis commented Nov 26, 2013

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 matches server.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 matches server.example.com and example.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

@fitztrev
Copy link
Owner

Thanks! 👍

fitztrev added a commit that referenced this pull request Nov 27, 2013
Adding config options for ignoring hosts in SSH config by name or keyword
@fitztrev fitztrev merged commit f8e7f59 into fitztrev:master Nov 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hide github.com from list
2 participants