bash - Git push doesn't work in ubuntu subsystem ( Permission denied (publickey) )
问题描述
I recently set up my SSH key to use it instead of HTTPS while working with git.
Configuration went completely fine but now when I am trying to use : git push origin master
in ubuntu terminal it doesn't work.
I get an error :
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
It is working in windows power shell and git bash.
But I would like it to work in ubuntu (set up as subsystem for windows).
解决方案
推荐阅读
- deep-learning - Pytorch - 对象定位的损失
- r - 我怎样才能在 R 中获得仅拦截模型(gls 函数)的摘要函数的完整输出?
- asp.net-mvc - 错误:ObjectContext 实例已被释放,不能再用于需要连接的操作
- json - 从存储在列中的 json 对象中读取元素
- c# - 招摇得到类文件
- python - 使用 python Wordpress pip 包使用 Wordpress RESTAPI 进行基本身份验证
- c# - 使用公钥、RSA 和 Bouncy castle 解密
- flutter - 如何在颤动中解析列表映射Json到列表视图?
- python - 在 savgol_filter 中通过 Savitzky-Golay 滤波器使用差分平滑后得到原始平滑数据
- excel - 在 Excel 中创建和重命名工作表的方法(ws.title 与 wb.create_sheet)