From 277ceb337835b057a424cbd1379a1f7d82429ed1 Mon Sep 17 00:00:00 2001 From: Andrew Werner Date: Thu, 25 Apr 2019 10:58:34 -0400 Subject: [PATCH] roachprod: enable verbose logging for scp This single '-v' flag enable debug1 level logging in ssh in hopes of helping root cause issues like #37113. --- pkg/cmd/roachprod/install/cluster_synced.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/roachprod/install/cluster_synced.go b/pkg/cmd/roachprod/install/cluster_synced.go index a0c9bf5a1e54..3129b379b435 100644 --- a/pkg/cmd/roachprod/install/cluster_synced.go +++ b/pkg/cmd/roachprod/install/cluster_synced.go @@ -1383,7 +1383,7 @@ func (c *SyncedCluster) SSH(sshArgs, args []string) error { func (c *SyncedCluster) scp(src, dest string) error { args := []string{ - "scp", "-r", "-C", + "scp", "-v", "-r", "-C", "-o", "StrictHostKeyChecking=no", } args = append(args, sshAuthArgs()...)