Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SSH to GitLab repository problem #533

Closed
hiepph opened this issue Mar 28, 2017 · 1 comment
Closed

SSH to GitLab repository problem #533

hiepph opened this issue Mar 28, 2017 · 1 comment

Comments

@hiepph
Copy link

hiepph commented Mar 28, 2017

In config/deploy.rb I set config of repository to GitLab:

set :repository, 'git@gitlab.com:my_organization/my_repo.git'

I'm the master of the project, use Linux, mina deploy SSH to GitLab repository is fine and everything went smoothly.

But my colleague is owner of the project (higher privilege), use MacOS X, when he mina deploy turns out to be problem of SSH connecting to above Gitlab repository:

-----> Using RVM environment 'ruby-2.3.3@default'        
       Using /home/user/.rvm/gems/ruby-2.3.3 
-----> Creating a temporary build path        
-----> Fetching new git commits        
       ! ERROR:        GitLab: The project you were looking for could not be found.
Deploy f       fatal: Could not read from remote repository.
       
       Please make sure you have the correct access rights
       and the repository exists.
 !     ERROR: Deploy failed.
-----> Cleaning up build        
       Unlinking current 
       OK 

 !     Command failed.
       Failed with status 1 (19)

What happened?

@adam12
Copy link

adam12 commented May 17, 2017

Are you using deploy keys? If you're not, it's possible that your machine is forwarding keys, and his isn't.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants