We are trying to integrate github with R package manager. Below are the steps we have performed but not able to achieve the objective.
- Generated a public and private key
- Placed the public key in github account
- The private key is in .ssh under root user.
- when rspm is trying to read the key it is facing permission issue.
- created a fresh ssh directory under rstudio-pm (owned by rstudio-pm) and retried with the rspm user import but still failure with permission issue.
Please help us to understand what are we missing and also if we are performing the steps right.