摘要: 问题背景 用户在 Raspberry Pi 上通过 scp命令 从 Gerrit 服务器复制 commit-msg 钩子文件时失败,报错 subsystem request failed on channel 0;但另一台机器使用相同命令可成功复制。 scp 命令: scp -v -p -P 294 阅读全文
posted @ 2025-10-23 15:14 lay-zon 阅读(5) 评论(0) 推荐(0)
摘要: 背景 在Raspberry Pi 上通过 git clone ssh://xxx@<host_name>:29418/<REPOSITORY_NAME.git> 克隆 Gerrit 仓库时失败,报错 Permission denied (publickey); 但使用 git@ 格式(如 git c 阅读全文
posted @ 2025-10-23 14:28 lay-zon 阅读(12) 评论(0) 推荐(0)