代理密钥RSA SHA256返回了错误的签名类型 [英] agent key RSA SHA256 returned incorrect signature type

查看:275
本文介绍了代理密钥RSA SHA256返回了错误的签名类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在docker上使用vscode开发容器,但是在与容器共享git时遇到问题.我已经在此处,一切正常.但是,当我尝试在容器终端中执行git pull时,它给我错误agent key RSA SHA256:xxxxxxxxxxxxxxxxxxx returned incorrect signature type,如何解决此问题?

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?

推荐答案

这是警告,如此处所述.

尝试重新生成一组新密钥,以进行测试,并确保您不使用pageant/油灰,但仅打开.
而且不要用通行密码(再次用于测试)来保护它,以避免ssh-agent步骤.

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

这篇关于代理密钥RSA SHA256返回了错误的签名类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆