eligible / knife-bastion

Access Chef securely via bastion server
MIT License
9 stars 12 forks source link

Feature: use already existing SOCKS proxy #6

Open ehaselwanter opened 6 years ago

ehaselwanter commented 6 years ago

Hi,

first of all thanks for this great plugin :-)

It would be awesome if there is a setting like

knife[:bastion_skip_proxy_creation] = true

Most of the time I already have a project ssh config setting up various SOCKS proxies over SSH and keep them open for various other tools.

tmortensen commented 5 years ago

I was able to use the plugin the way you stated by simply skipping the start step. I defined the custom port I use, and added the require "knife-bastion/activate" to my knife config and it works as advertised.