当前位置:网站首页>Git SSH bad permissions
Git SSH bad permissions
2020-11-06 22:33:00 【Rotcod】
$ssh -T git@gitee.com
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0550 for 'XXXXXXXXXXXXX/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "XXXXXXXXXXXXXX/.ssh/id_rsa": bad permissions
git@gitee.com: Permission denied (publickey).
此步已输出明确原因:密钥安全属性设置不合理
解决方案: Linux: 修改密钥对文件属性为700/500/400
chmod 700 XXXXXXXXXXXXX/.ssh/id_rsa*
Windows: 在密钥对文件属性安全选项中,将文件控制权限修改为仅文件所有者可控制
版权声明
本文为[Rotcod]所创,转载请带上原文链接,感谢
https://my.oschina.net/vxb/blog/4702893
边栏推荐
- Introduction to Huawei cloud micro certification examination
- 轻量型 GPU 应用首选 京东智联云推出 NVIDIA vGPU 实例
- 迅为-iMX6ULL开发板上配置AP热点
- Exclusive interview of guests at | 2020 PostgreSQL Asia Conference: Wang Tao
- Stm32f030k6t6 compatible replacement smart mm32f031k6t6
- C calls SendMessage to refresh the taskbar icon (the icon does not disappear at the end of forcing)
- [doodling the footprints of Internet of things] Introduction to Internet of things
- Ora-02292: complete constraint violation (midbjdev2.sys_ C0020757) - subrecord found
- Interviewer: how about shardingsphere
- [forward] how to view UserData in Lua
猜你喜欢
Common syntax corresponding table of mongodb and SQL
20 XR projects roadshows, nearly 20 capital institutions attended! We sincerely invite you to attend the 2020 qcomm XR eco Partner Conference
2020-08-20:GO语言中的协程与Python中的协程的区别?
STM32F030C6T6兼容替换MM32SPIN05PF
2020-08-15: under what circumstances should data tasks be optimized?
上海巨微专用蓝牙广播芯片
“非洲用户的付费意愿并不低”——专访四达时代研发总监张亮
August 14, 2020: what are the execution engines for data tasks?
Introduction to Huawei cloud micro certification examination
VARCHART XGantt如何在日历上表示工作日
随机推荐
Introduction to Huawei cloud micro certification examination
Application insights application insights use application maps to build request link views
2020-08-15:什么情况下数据任务需要优化?
Characteristics of magnetic memory chip STT-MRAM
2020-08-15: under what circumstances should data tasks be optimized?
Exclusive interview of guests at | 2020 PostgreSQL Asia Conference: Wang Tao
小熊派开发板实践:智慧路灯沙箱实验之真实设备接入
Method of code refactoring -- Analysis of method refactoring
The advantages and functions of psychological counseling app
Win7 AppCrash (solution)
Using JSON webtoken (JWT) to generate token in nodejs
JS string - string string object method
Points to be considered when deleting mapping field of index in ES
Interviewer: how about shardingsphere
win7 APPCRASH(解决方法)(转)
#JVM 类加载机制
List to map (split the list according to the key, and the value of the same key is a list)
2020-08-17: how to solve data skew in detail?
WebAPI接口设计:SwaggerUI文档 / 统一响应格式 / 统一异常处理 / 统一权限验证
A concise tutorial for Nacos, ribbon and feign