devspace icon indicating copy to clipboard operation
devspace copied to clipboard

make devspace SSH config optional

Open janrito opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?
Devspace writes directly to the ssh config. But it is not able to detect if the configuration is already included.

e.g.

# file `~/.ssh/config (in version control)
Include `~/.dotfiles/ssh/config`
Include `~/.dotfiles/ssh/config.work`
Include `~/.dotfiles/ssh/config.local`
# file `~/.ssh/config.local (not in version control)
[...]
# DevSpace Start
Match all
Include devspace_config
# DevSpace End

Which solution do you suggest?
A flag to disable editing the ssh config

Which alternative solutions exist?

Additional context

janrito avatar Jul 03 '24 09:07 janrito