fitztrev/shuttle

Is it possible to import ~/.ssh/config

Opened this issue · 4 comments

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.

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

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.

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.

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