On 11.06.25 14:27, Jeffrey E Altman wrote:
On 6/11/2025 8:23 AM, Jeffrey E Altman wrote:
On 6/11/2025 6:19 AM, Götz Waschk wrote:
  git clone ssh://goetz.was...@gerrit.openafs.org:29418/ REPOSITORY_NAME.git

Connection to gerrit.openafs.org closed.

% scp  -p  gerrit.openafs.org:hooks/commit-msg .git/hooks/

Did you try?

% scp  -p goetz.waschk@ gerrit.openafs.org:hooks/commit-msg .git/hooks/

% scp  -p  -P 29418 goetz.waschk@ gerrit.openafs.org:hooks/commit- msg .git/hooks/

You also need to specify the gerrit ssh port number.


That doesn't change a thing. Also, the port number was already in ~/.ssh/config. The user name and the key had been excepted, it is the following sftp subsystem part that doesn't work.

--
Götz Waschk                            ° Phone:  +49 33762 77169
Deutsches Elektronen-Synchrotron DESY  ° E-Mail: goetz.was...@desy.de
Platanenallee 6
15738 Zeuthen Germany

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

Reply via email to