ruby on rails - capistrano behind http proxy -


is there way set http proxy capistrano ?

i have deployment server behind proxy, capistrano hangs while fetching github repository https protocol.

how can tell capistrano use proxy server ?

you can use gateway option, when accessing remote server through proxy

set :gateway, "proxy-user@100.200.300.400" ssh_options[:keys] = "~/.ssh/your-key" 

make sure have added remote servers ssh key github repo deploy keys.

you can try forward_agent option make remote server use local machine ssh key access github.

ssh_options[:forward_agent] = true 

hope helps.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -