Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
453
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. sudo git clone git@my.git.server:user/repo.git
  2.  
  3. sudo -u www-data -H git clone git@my.git.server:user/repo.git
  4.  
  5. Cloning into 'repo'...
  6. fatal: 'user/repo.git' does not appear to be a git repository
  7. fatal: Could not read from remote repository.
  8.  
  9. james-c@WebHost-1:~$ sudo ssh -v git@my.git.server 2>&1 | grep 'identity file'
  10. debug1: identity file /root/.ssh/id_rsa type -1
  11. debug1: identity file /root/.ssh/id_rsa-cert type -1
  12. debug1: identity file /root/.ssh/id_dsa type -1
  13. debug1: identity file /root/.ssh/id_dsa-cert type -1
  14. debug1: identity file /root/.ssh/id_ecdsa type -1
  15. debug1: identity file /root/.ssh/id_ecdsa-cert type -1
  16. debug1: identity file /root/.ssh/id_ed25519 type -1
  17. debug1: identity file /root/.ssh/id_ed25519-cert type -1
  18. james-c@WebHost-1:~$ sudo -u www-data ssh -v git@my.git.server 2>&1 | grep 'identity file'
  19. debug1: identity file /var/www/.ssh/id_rsa type 1
  20. debug1: identity file /var/www/.ssh/id_rsa-cert type -1
  21. debug1: identity file /var/www/.ssh/id_dsa type -1
  22. debug1: identity file /var/www/.ssh/id_dsa-cert type -1
  23. debug1: identity file /var/www/.ssh/id_ecdsa type -1
  24. debug1: identity file /var/www/.ssh/id_ecdsa-cert type -1
  25. debug1: identity file /var/www/.ssh/id_ed25519 type -1
  26. debug1: identity file /var/www/.ssh/id_ed25519-cert type -1
  27.  
  28. sudo -u deploydeputy /bin/bash -c "export HOME=/home/deploydeputy && git clone git@github.com:inventid/cdn.git /tmp/cdn"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement