Hey @Siham_Hachi ! Welcome to community, and thanks for asking!!
Our guess here is that this is a permission issue on your passpharase key. If you run the following commands (presuming your username is ubuntu):
chown ubuntu:ubuntu /home/ubuntu/.ssh/id_ed25519
chown ubuntu:ubuntu /home/ubuntu/.ssh/passphrase
Then you can test permissions with:
namei -l /home/ubuntu/.ssh/id_ed25519
namei -l /home/ubuntu/.ssh/passphrase
Can you give that a shot and see if it solves the problem? Also, what version of RStudio Package Manager are you using?
Moreover, because you are a professional customer (or trialing a professional product), you have access to our professional support team. We really appreciate you asking here, so that others can find the solution, but we can ensure things are handled more directly if you reach out to support@rstudio.com . Thanks!