codefever git 协议处理简单说明
codefever关于git ssh 协议的处理与gitlab 的是大同小异的,都是基于了ssh 的command restriction ( forced command)
当然gitlab 也支持了基于的AuthorizedKeysCommand,而且目前gitlab 也基于golang 开发了一个自己的ssh server (还没ga)
同时codefever 也参考gitlab 实现了自己的一个cli 程序,进行git 的操作处理,具体参考ssh-gateway 中的
shell 文件夹中的代码,misc/modify_authorized_keys.php 中包含了ssh 的处理
参考资料
https://docs.gitlab.com/ee/administration/operations/fast_ssh_key_lookup.html
https://github.com/PGYER/codefever/tree/master/ssh-gateway
https://man.openbsd.org/sshd_config
https://blog.scalesec.com/just-in-time-ssh-provisioning-7b20d9736a07?gi=2df25a67977e
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
2021-02-21 markojs ebay开源的支持基于html+组件化web app的框架
2020-02-21 pgspider clickhouse fdw docker 镜像
2019-02-21 Using Elixir Dynamic Supervisors