github 配置 ssh key ssh-key

在 Linux 上:

bash 复制代码
ssh-keygen -t rsa -C "xxx@xxx.com"

随后

bash 复制代码
cat ~/.ssh/id_rsa.pub

复制到 github -> Settings -> SSH and GPG keys -> New SSH

随后验证:

bash 复制代码
ssh -T git@github.com

预期输出:

复制代码
Hi xxx! You've successfully authenticated, but GitHub does not provide shell access.
相关推荐
第一程序员1 天前
数据工程 pipelines 实践
python·github
CV工程师(Ctrl)1 天前
OpenClaw 安装与飞书接入(2026-04-19)
node.js·github·飞书·火山引擎·openclaw
历程里程碑1 天前
2. Git版本回退全攻略:轻松掌握代码时光机
大数据·c++·git·elasticsearch·搜索引擎·github·全文检索
鹿鸣天涯1 天前
Xftp传输文件时,解决“无法显示远程文件夹”方法
运维·服务器·计算机
unDl IONA1 天前
服务器部署,用 nginx 部署后页面刷新 404 问题,宝塔面板修改(修改 nginx.conf 配置文件)
运维·服务器·nginx
Web极客码1 天前
WordPress管理员角色详解及注意事项
运维·服务器·wordpress
geinvse_seg1 天前
中小团队如何低成本搭建项目管理系统?基于 Ubuntu 的 Dootask 私有化部署实战
linux·运维·ubuntu
星辰徐哥1 天前
鸿蒙金融理财全栈项目——上线与运维、用户反馈、持续迭代优化
运维·金融·harmonyos
CSCN新手听安1 天前
【linux】高级IO,以ET模式运行的epoll版本的TCP服务器实现reactor反应堆
linux·运维·服务器·c++·高级io·epoll·reactor反应堆
丶伯爵式1 天前
Ubuntu 24.04 更换国内软件源指南 | 2026年3月26日
linux·运维·ubuntu·国内源·升级