I am connected through SSH to my machine at work, on which I am developing some code.
I have committed some changes, which I would now like to push, however, I get:
Permission denied (publickey).
fatal: Could not read from remote repository.
AFAIK this issue occurs when the SSH keys for the git repo are not properly set up.
Thing is, I can push and pull no problems when I am physically at work using the computer.
The problem only occurs when I try to do so through a SSH connection.
Any ideas what's going on here?