Error code of 255 while getting Gerrit commit hook?
IIRC this has to do with the legacy scp protocol vs the newfangled sftp
protocol. Try adding -O to force scp to use the legacy scp protocol
🌘 15:15:43 brennen@inertia:~/fragments/gerrit-commit-hook (main *$%=) ☆ scp -P29418 brennen@gerrit.wikimedia.org:hooks/commit-msg commit-msg
Host key fingerprint is SHA256:j7HQoQ6fIuEgDHjONjI2CZ+2Iwxqgo2Ur5LbPqBgxOU
+---[RSA 1024]----+
| |
|. . |
|= + . |
|+BoE o . |
|BBX . o S |
|@@o+ + o = |
|X=*.. + o . |
|*ooo . |
|o+o. |
+----[SHA256]-----+
commit-msg