问题
i'm using vscode development container with docker but i have a problem when sharing git with container. i've setup git, ssh-add, ssh-agent as follows in here and everything work as well. But when i try to do git pull in container terminal it gives me error agent key RSA SHA256:xxxxxxxxxxxxxxxxxxx returned incorrect signature type
, how to fix this problem?
回答1:
It is a warning, as explained here.
Try a regenerate, for testing, a new set of keys, making sure you do not use pageant/putty, but only openssh.
And don't protect it with a passphrase (again, for testing), in order to avoid the ssh-agent step.
ssh-keygen -t rsa -P "" -m PEM
来源:https://stackoverflow.com/questions/60136363/agent-key-rsa-sha256-returned-incorrect-signature-type