-
Notifications
You must be signed in to change notification settings - Fork 489
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
Add support for ssh proxies #151
Comments
You can deploy using a gateway by properly configuring your ssh config file. e.g: I want to deploy to intranet.example.com. My
Running Just make sure you're telling mina to ssh to intern.example.com and everything will work properly... |
On 2013-11-20 06:49:19, Raphael Randschau wrote:
Thanks for the suggestion. One thing that may not have been /AllanAllan Wind |
As a matter of fact you can have conditional ProxyCommand host resolution which helps you achieve just that. You'd still need to share this setup with all developers, though. |
On 2013-11-27 01:23:04, Raphael Randschau wrote:
I actually use something similar already, but this means you now Could you easily run-time generate a ssh_config for mina and have Btw, feel free to resolve this ticket, doesn't solve the problem /AllanAllan Wind |
according to the ssh manpage you can change the configuration file in use by specifying the set :ssh_options, "-F /path/to/mina_ssh_config" Running
I'm also not sure how to conquer the duplication ATM. Also I can't close the ticket, I'm just a bystander wanting to help :) |
This is doable with ssh config, but native support would be very friendly. Very common to deploy to hosts behind a gateway/firewall. Getting ssh proxying working just right for N devs is harder than doing it properly once. Specifying |
You can make a gem for this that will extend mina to support gateways. |
capistrano can deploys to hosts behind a ssh gateway server via the :gateway setting. We use the this little piece of magic to transparently deploy in or outside the office:
The text was updated successfully, but these errors were encountered: