Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Initial clone in to tmp directory inside user home directory, no idea why this doesn't work
- siteman@10.10.10.11:~/Documents/tmp$ git clone -v ssh://git@10.10.10.10:web/site.git
- Cloning into 'site'...
- GitLab: The project you were looking for could not be found.
- fatal: Could not read from remote repository.
- Please make sure you have the correct access rights
- and the repository exists.
- siteman@10.10.10.11:~/Documents/tmp$ git clone -v git@10.10.10.10:web/site.git
- Cloning into 'site'...
- remote: Counting objects: 94, done.
- remote: Compressing objects: 100% (91/91), done.
- remote: Total 94 (delta 33), reused 0 (delta 0)
- Receiving objects: 100% (94/94), 43.69 KiB | 0 bytes/s, done.
- Resolving deltas: 100% (33/33), done.
- Checking connectivity... done.
- siteman@10.10.10.11:~/Documents/tmp$ git clone -v git@10.10.10.10:web/site.git
- Cloning into 'site'...
- remote: Counting objects: 94, done.
- remote: Compressing objects: 100% (91/91), done.
- remote: Total 94 (delta 33), reused 0 (delta 0)
- Receiving objects: 100% (94/94), 43.69 KiB | 0 bytes/s, done.
- Resolving deltas: 100% (33/33), done.
- Checking connectivity... done.
- #After it worked above I tried using in a different directory, which doesn't work
- siteman@10.10.10.11:/var/www$ sudo git clone -v git@10.10.10.10:web/site.git
- [sudo] password for siteman:
- Cloning into 'site'...
- git@10.10.10.10's password:
- [email protected]:/var/www$ sudo git clone -v ssh://[email protected]:web/site.git
- Cloning into 'site'...
- [email protected]'s password:
- #Returning to the original directory, it still doesn't work
- siteman@10.10.10.11:~/Documents/tmp$ sudo git clone -v git@git@10.10.10.10:web/site.git
- Cloning into 'site'...
- git@10.10.10.10's password:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement