How I can pull to update my project

I'm a new developer in this project and I'm trying to pull to update the code but I got some err.

this is the err

git@gitlab.com: Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

1 Reply

You need to install gitlab.com's public key on your Linode. Preferably, you would put it in $HOME/.ssh/authorized_keys (that's a filenot a directory) $HOME is the home directory of the account trying to do the pull. For example, if you're logged in as foo, $HOME would be /home/foo.

I would advise to not do this as root. Use sudo to change the ownership of the files you want to pull to foo; do the pull; and then use sudo to change the ownership back the way it was.

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct