Problem: User logon fails when correct password entered.
I have verified that the password in use works via logging on in a terminal
session with the user id given below in the log. However, inputting this
password into the Capistrano-2.5.15 recipe using:
# You can bailout here with ^C (<ctrl-c>)
set( :scm_password,
proc{Capistrano::CLI.password_prompt(
"#{scm_user}@#{scm_server} password: ")} )
Results in this error being logged on the target host and generates the
console reproduced below:
Failed password for theheart_test from 216.185.71.241 port 44678 ssh2
Is there some issue with respect to the version of ssh being used? Is some
trailing character being added to the password from the input method?
Versions:
- Ruby-2.0.0p353
- Capistrano-2.5.15
- Rake-10.1.0 / Rails-4.0.1 / etc
Platform:
- Working on....i86_64 CentOS-6.4
- Deploying to...i86_64 CentOS-6.4
Logs:
** [xnet241.hamilton.harte-lyne.ca :: out] !!Warning!! - Any attempt to
obtain access to this device without
** authorisation is a criminal act.
** [email protected]'s password:
[email protected] password:
** [xnet241.hamilton.harte-lyne.ca :: out]
** [xnet241.hamilton.harte-lyne.ca :: out] Permission denied, please try
again.
** [email protected]'s password:
** [xnet241.hamilton.harte-lyne.ca :: out]
** [xnet241.hamilton.harte-lyne.ca :: out] Permission denied, please try
again.
** [email protected]'s password:
** [xnet241.hamilton.harte-lyne.ca :: out]
** [xnet241.hamilton.harte-lyne.ca :: out] Permission denied
(publickey,password).
** [xnet241.hamilton.harte-lyne.ca :: out] fatal: The remote end hung up
unexpectedly
command finished in 11745ms
*** [deploy:update_code] rolling back
* executing "rm -rf
/var/data/hll_th_test/hll_th_forex_rss/releases/20131202192645; true"
servers: ["xnet241.hamilton.harte-lyne.ca"]
[xnet241.hamilton.harte-lyne.ca] executing command
command finished in 93ms
--
You received this message because you are subscribed to the Google Groups
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/capistrano/baf3c193-3172-4a82-81cd-a2f8559d633f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.