I am using TRAMP to interact with files on a remote Raspberry Pi device from my MacBook.
When I SSH into the remote device with the CLI, git is able to find the associated SSH keys and pull/push from the repo as expected.
However, Magit is not able to pull/push and reports this familiar error that points to missing SSH keys:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I know this is a common problem, but I don't how to effectively debug to understand what Magit is missing. I assume there is some environment context missing somewhere, but I don't understand the systems well enough to identify where.
Any help to debug this would be appreciated.