I have two machines (a. Ubuntu machine b. Windows machine)
I have cloned code from a github repo in the Ubuntu machine and I am able to run git commands if I login into the Ubuntu machine (directly)
But if I login into the Ubuntu machine (using the same userid) via a Windows machine (using putty), then it fails to pull code on a git pull. It results in a permission denied error
Permission denied (publickey). fatal: The remote end hung up unexpectedly
Why I am not able to pull code if I login from my Windows machine?