agent key RSA SHA256 returned incorrect signature type

三世轮回 提交于 2020-12-04 09:02:03

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!