Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. lock '3.2.1'
  2. set :application, 'my_app'
  3. set :repo_url, 'path_to_git_repo.git'
  4. set :deploy_user, 'root'
  5. set :deploy_to, '/var/www'
  6. set :branch, 'master-final_code'
  7. set :scm, :git
  8. set :deploy_via, :copy
  9. set :format, :pretty
  10. set :stages, ["staging"]
  11. set :log_level, :debug
  12. set :pty, true
  13.  
  14. set :stage, :staging
  15. role :app, %w{root@my_ip_add}
  16. %w{[root]}
  17. server 'my_ip_add', user: 'root', roles: %w{app}
  18. set :ssh_options, {
  19. forward_agent: false,
  20. auth_methods: %w(password),
  21. password: 'my_pass',
  22. user: 'root'
  23. }
  24.  
  25. Permission denied (publickey,keyboard-interactive).
  26. fatal: Could not read from remote repository.
  27. Please make sure you have the correct access rights
  28. and the repository exists.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement