On 6/11/2025 8:37 AM, Götz Waschk wrote:
So the gerrit server must be configured to support the SFTP subsystem or newer SSH clients will fail when using the scp command.

The ssh server baked into Gerrit does not support the SFTP server.

The -O option can be specified with OpenSSH 8.7 and later to select the legacy SCP protocol for file transfers.

Tested with OpenSSH 9.9p2 on macOS Sequoia

The commit hook can be obtained using anonymous https:

(cd openafs && curl -kLo `git rev-parse --git-dir`/hooks/commit-msg https://gerrit.openafs.org/tools/hooks/commit-msg; chmod +x `git rev-parse --git-dir`/hooks/commit-msg)

Later versions of Gerrit suggest using anonymous https to download commit-hooks to avoid compatibility issues.

Jeffrey Altman

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to