From c4ade691e1d92f3f03974bacc1077cce6d8309bf Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 8 Feb 2023 18:02:56 +0000 Subject: [PATCH] docs(REVIEWS): update scp command cl.tvl.fyi only supports the legacy scp protocol, not the sftp protocol that recent versions of OpenSSH now use by default. So we need to pass -O to tell it to use scp. Cc: Vincent Ambo Change-Id: I2dcae77fef9126f4f8eebfa574c5a345a5c56615 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8039 Reviewed-by: flokli Reviewed-by: tazjin Tested-by: BuildkiteCI --- docs/REVIEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/REVIEWS.md b/docs/REVIEWS.md index 1cb228b86..7f72d81d9 100644 --- a/docs/REVIEWS.md +++ b/docs/REVIEWS.md @@ -35,7 +35,7 @@ a commit hook should be installed as follows: ``` git clone "ssh://$USER@code.tvl.fyi:29418/depot" -scp -p -P 29418 $USER@code.tvl.fyi:hooks/commit-msg "depot/.git/hooks/" +scp -pOP 29418 $USER@code.tvl.fyi:hooks/commit-msg "depot/.git/hooks/" ``` If you have a previous clone of the depot via HTTP you can use `git remote