Hi there. I am attempting to write a little recipes that using rsync to
copy some images to my server. It looks like this:
task :upload_images, roles: :app do
run "rsync -r -u -v images/ #{user}@#{address}:#{shared_path}/images"
end
I can run the command fine directly on the command line, but when run via
Capistrano I get a 'authenticity of host '...' can't be established.'
message, despite the fact that I can run the regular cap:deploy stuff fine.
After saying "yes" to the "Are you sure you want to continue connecting"
message, it hangs forever.
Any ideas why this command isn't connecting to the server properly? Thanks!
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en