Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
696
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.71 KB | None | 0 0
  1. #Initial clone in to tmp directory inside user home directory, no idea why this doesn't work
  2.  
  3. siteman@10.10.10.11:~/Documents/tmp$ git clone -v ssh://git@10.10.10.10:web/site.git
  4. Cloning into 'site'...
  5. GitLab: The project you were looking for could not be found.
  6. fatal: Could not read from remote repository.
  7.  
  8. Please make sure you have the correct access rights
  9. and the repository exists.
  10.  
  11. siteman@10.10.10.11:~/Documents/tmp$ git clone -v git@10.10.10.10:web/site.git
  12. Cloning into 'site'...
  13. remote: Counting objects: 94, done.
  14. remote: Compressing objects: 100% (91/91), done.
  15. remote: Total 94 (delta 33), reused 0 (delta 0)
  16. Receiving objects: 100% (94/94), 43.69 KiB | 0 bytes/s, done.
  17. Resolving deltas: 100% (33/33), done.
  18. Checking connectivity... done.
  19.  
  20. siteman@10.10.10.11:~/Documents/tmp$ git clone -v git@10.10.10.10:web/site.git
  21. Cloning into 'site'...
  22. remote: Counting objects: 94, done.
  23. remote: Compressing objects: 100% (91/91), done.
  24. remote: Total 94 (delta 33), reused 0 (delta 0)
  25. Receiving objects: 100% (94/94), 43.69 KiB | 0 bytes/s, done.
  26. Resolving deltas: 100% (33/33), done.
  27. Checking connectivity... done.
  28.  
  29. #After it worked above I tried using in a different directory, which doesn't work
  30.  
  31. siteman@10.10.10.11:/var/www$ sudo git clone -v git@10.10.10.10:web/site.git
  32. [sudo] password for siteman:
  33. Cloning into 'site'...
  34. git@10.10.10.10's password:
  35.  
  36. siteman@10.10.10.11:/var/www$ sudo git clone -v ssh://git@10.10.10.10:web/site.git
  37. Cloning into 'site'...
  38. git@10.10.10.10's password:
  39.  
  40. #Returning to the original directory, it still doesn't work
  41.  
  42. siteman@10.10.10.11:~/Documents/tmp$ sudo git clone -v git@git@10.10.10.10:web/site.git
  43. Cloning into 'site'...
  44. git@10.10.10.10's password:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement