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 file…not 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