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,
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
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
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
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,
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
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
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