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

posted on   荣锋亮  阅读(119)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用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

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示