I am using Dockerfile, where specified my private key as well. While doing git for my private repository, I am getting below error.
Load key "/root/.ssh/eb-infc2json-app-rsa": invalid format
root@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.
however, when I tested same from a linux machine, it is working fine. Only difference I can figure out that while using windows system, getting few errors like this. Can you suggest why this invalid format is coming and how can I fix it.