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

Is it possible to import ~/.ssh/config #254

Open
uhlhosting opened this issue Mar 6, 2019 · 4 comments
Open

Is it possible to import ~/.ssh/config #254

uhlhosting opened this issue Mar 6, 2019 · 4 comments

Comments

@uhlhosting
Copy link

Why not allow users to parse the content of config for shuttle? I have in config like 20 servers over the years I use. And to migrate them all into shuttle would be amazing.

@julien-c
Copy link
Collaborator

julien-c commented Mar 6, 2019

It should work out of the box. Doesn't it?

@uhlhosting
Copy link
Author

in that case I'm confused. when I meant importing, is to allow me to see the current servers in config in shuttle, no can't find this in shuttle. I can import/edit and export

if I import config file I get error parsing config file.

@thshdw
Copy link
Collaborator

thshdw commented Mar 6, 2019

Hi @uhlhosting
From: https://github.com/fitztrev/shuttle/wiki/Global-Settings#show_ssh_config_hosts-value

Here are the settings for reading your ssh config file. There should be nothing to import as shuttle reads the SSH config file. Maybe you have show_ssh_config_hosts to false?

"show_ssh_config_hosts": VALUE,
This changes parsing ssh config. By default, Shuttle will parse your ~/.ssh/config file for hosts. (Global Setting)

Possible values are false or true

"ssh_config_ignore_hosts": ["VALUE", "VALUE"],
This will ignore hosts in the ssh config. (Global Setting)

Possible values are the hosts in your config that you want to ignore. If you had github.com and git.example.com in your ssh config, to ignore them you set:

"ssh_config_ignore_hosts": ["github.com", "git.example.com"],

"ssh_config_ignore_keywords": ["VALUE"],
This will ignore keywords in your ssh config. (Global Setting)

Possible values are the keywords in your ssh config that you want to ignore.

@KaymeKaydex
Copy link

@thshdw , I have show_ssh_config_hosts to true, but it does not help

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

No branches or pull requests

4 participants