[Capistrano] Re: How to deploy with SSH from Windows?

2009-04-02 Thread Masuda
My Git repository is VPS,remote hosted. I fixed the problem which got a message Access denied. It was deploy.rb and pageant which caused. I did below. 1.deploy.rb set :repository, ssh://remote.host.address:22/var/git/#{application}.git  ↓ set :repository,

[Capistrano] Re: How to deploy with SSH from Windows?

2009-04-01 Thread Vassilis Rizopoulos
Masuda wrote: Hi,there. I'm trying to deploy with Capistrano 2.5.5 and git. But when using cap deploy command, server requires password for Windows login user name, permission denied and tries to roll back. I set ssh public key and deploy.rb with ssh_options. I guess you want to setup

[Capistrano] Re: How to deploy with SSH from Windows?

2009-04-01 Thread Masuda
Thanks for replies. Capistrano SSH key authentication seems to be going well, because cap deploy:setup command was finished and I confirmed directories were created. Perhaps the problem is git SSH key authentication. I had investigated by myself but not figured out yet how to config git for SSH

[Capistrano] Re: How to deploy with SSH from Windows?

2009-04-01 Thread Lee Hambley
Where is your Git repository hosted? - Lee 2009/4/1 Masuda msd@gmail.com Thanks for replies. Capistrano SSH key authentication seems to be going well, because cap deploy:setup command was finished and I confirmed directories were created. Perhaps the problem is git SSH key

[Capistrano] Re: How to deploy with SSH from Windows?

2009-03-30 Thread Lee Hambley
Di you have an SSH key, and is it at %w(~/.ssh/id_rsa.pub) ? What SSH client are you using ? - Lee 2009/3/30 Masuda msd@gmail.com Hi,there. I'm trying to deploy with Capistrano 2.5.5 and git. But when using cap deploy command, server requires password for Windows login user name,

[Capistrano] Re: How to deploy with SSH from Windows?

2009-03-30 Thread Masuda
Thanks for reply. Di you have an SSH key, and is it at %w(~/.ssh/id_rsa.pub) ? Yes I have a SSH key but I made a mistake. It is at ~/.ssh/authorized_key so I collected it %w(~/.ssh/authorized_keys). What SSH client are you using ? I thought that no SSH client needed, so just command prompt

[Capistrano] Re: How to deploy with SSH from Windows?

2009-03-30 Thread Lee Hambley
I'm not familiar with a windows installation, since Net::SSH is a pure-ruby implementation of an SSH client, there shouldn't be one required if you are deploying *to* windows that isn't going to work very well for you... looking at the logs, you aren't entering a valid password for the target

[Capistrano] Re: How to deploy with SSH from Windows?

2009-03-30 Thread Masuda
The server which I want to deploy is not windows. It's Linux, CentOS 5.2 . Now I realized that when I using command cap deploy:setup it doesn't require password for Windows login user name but requires root user password, not authorized public key. Though it went well. I confirmed directories