http://www.agroman.net/corkscrew/

this is the tool I use to pass through the firewall. So when I connect
to localhost port 22 with ssh in fact I connected to my remote server.
My capistrano config is now realy basic : server
"localhost", :app, :web, :db, :primary => true

On 5 fév, 14:45, Lee Hambley <[email protected]> wrote:
> Corkscrew?
> - Lee
>
> 2009/2/5 fredix <[email protected]>
>
>
>
> > Finaly I resolved this problem when I changed my corkscrew config.
>
> > On 5 fév, 10:24, Frédéric Logier <[email protected]> wrote:
> > > Hi,
>
> > > in fact it seem that capy can not use the 443 port :
>
> > > cap deploy:check
> > >   * executing `deploy:check'
> > >   * executing "test -d /var/www/toto.com/releases"
> > >     servers: ["linus.toto.com"]
> > > connection failed for: linus.toto.com:443 (Errno::ETIMEDOUT: Connection
> > > timed out - connect(2))
>
> > > Git can do with this config :
> > > [remote "origin"]
> > >     url = ssh://linus.toto.com:443/var/git/depot.git
>
> > > On Wed, Feb 4, 2009 at 10:52 PM, fredix <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I have some problem to config capistrano from my office. I need to use
> > > > the 443 port so I tried different config to pass through the firewall
> > > > but no way. This is my last config :
>
> > > > set :user, "deployer"
> > > > set :application, "toto.com"
> > > > #set :domain, "linus.toto.com"
> > > > set :local_repository,  "linus.toto.com/var/git/depot.git"
> > > > set :repository,  "/var/git/depot.git"
>
> > > > #set :deploy_via, :remote_cache
> > > > #set :repository_cache, "git_cache"
>
> > > > # If you aren't deploying to /u/apps/#{application} on the target
> > > > # servers (which is the default), you can specify the actual location
> > > > # via the :deploy_to variable:
> > > > set :deploy_to, "/var/www/#{application}"
>
> > > > # If you aren't using Subversion to manage your source code, specify
> > > > # your SCM below:
> > > > # set :scm, :subversion
> > > > set :scm, :git
>
> > > > default_run_options[:pty] = true
> > > > set :port, 443
> > > > ssh_options[:port] = 443
>
> > > > #set :ssh_options, {:forward_agent => true }
>
> > > > #role :app, "linus.toto.com"
> > > > #role :web, "linus.toto.com"
> > > > #role :db,  "linus.toto.com", :primary => true
>
> > > > server "linus.toto.com:443", :app, :web, :db, :primary => true
>
> > > > set :use_sudo, false
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to