I fixed the password problem.
It is caused using git without "PLink".
I re-installed Git (msysgit) "Use Plink" on Coosing SSH executable step.
Then, the problem which require password for Windows login user name fixed.
But ... access denied and got a fatal error.
Command prompt
---------------------------------------------------------------
>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"
fatal: protocol error: bad line length character
Access denied
Access denied
Access denied
Access denied
Access denied
Access denied
FATAL ERROR: Server sent disconnect message
type 2 (protocol error):
"Too many authentication failures for "
*** [deploy:update_code] rolling back
* executing "rm -rf /var/www/project/releases/20090331074542; true"
** [deploy:update_code] exception while rolling back:
Capistrano::NoMatchingServersError, `deploy:update_code' is only run
for servers matching {:except=>{:no_release=>true}}, but no servers
matched
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
---------------------------------------------------------------------------------
What's wrong?
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---