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 only.
And then I did deploy command with Pagent.

Command prompt are below.
-----------------------------------------------------------------------------------------------------------------------------
C:\Users\WindowsLoginName\Project\project\src>cap deploy
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    executing locally: "git ls-remote 
ssh://remote.host.address:22/var/git/project.git
HEAD"
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied (publickey,gssapi-with-mic,password).
fatal: The remote end hung up unexpectedly
*** [deploy:update_code] rolling back
  * executing "rm -rf /var/www/project/releases/20090330213903; true"
    servers: ["remote.host.address"]
 ** [deploy:update_code] exception while rolling back:
Capistrano::ConnectionError, connection failed for:
remote.host.address (TypeError: can't convert nil into String)
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/recipes/
deploy/scm/git.rb:224:in `query_revision': Unable to resolve revision
for 'HEAD' on repository 'ssh://remote.host.address:22/var/git/si
s.git'. (RuntimeError)
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/recipes/deploy/scm/base.rb:35:in `send'
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/recipes/deploy/scm/base.rb:63:in `local'
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/recipes/deploy.rb:37:in `load'
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configuration/variables.rb:87:in `call'
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configuration/variables.rb:87:in `fetch'
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/configuration/variables.rb:110:in `protect'
         ... 38 levels...
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
capistrano/cli/execute.rb:14:in `execute'
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.5/bin/cap:4
        from c:/ruby/bin/cap:19:in `load'
        from c:/ruby/bin/cap:19
-----------------------------------------------------------------------------------------------------------------------------

Password requirements without Windows login name, Password:,
disappeared.
But yet it requires password for Windows login user name and new
errors occurred.
I have no idea.

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