Skip to main content

GIT User

Comments

5 comments

  • cPanelMichael
    Hello :) You will need to ensure that you upload/modify files and directories as the account username to avoid this type of problem. You can do this by completing the actions while logged in as the account username, or modifying the ownership values after completing the actions. Thank you.
    0
  • JU5TY
    Okay thanks, that's fine, but when I SSH the server using the account username and try and connect to the bitbucket repository, I get the following error: Permission denied (publickey). Is this because that account username doesn't have access to the ssh key which is outside their directory and was created by the root user. How do I get around this?
    0
  • fabin
    You have to keep the ssh key in the user's home directory and with correct ownership and mode. Most probably, that will fix the Permission denied error.
    0
  • JU5TY
    Thanks, although if I keep the SSH key in the users directory, won't that mean I have to create an SSH key every time I add a user/website?
    0
  • JU5TY
    Tried what you suggested and it works fine now, thanks.
    0

Please sign in to leave a comment.