From b4dfb22028e624d713ce7e1a0c381bdc93a0329d Mon Sep 17 00:00:00 2001 From: "Greg T. Wallace" Date: Fri, 2 Feb 2024 18:35:23 -0500 Subject: [PATCH] scp: switch to quiet --- pkg/app/scp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/app/scp.go b/pkg/app/scp.go index 2fa32a7..9fe55e4 100644 --- a/pkg/app/scp.go +++ b/pkg/app/scp.go @@ -49,7 +49,7 @@ func scpSendFileToUPS(client *ssh.Client, p15File []byte) error { // Go implementation sends additional 0x22 bytes when using Run() (as // compared to putty's scp tool). these additional bytes seem to cause the // apc ups to fail execution of the command - payload := []byte(fmt.Sprintf("scp -v -t %s", scpP15Destination)) + payload := []byte(fmt.Sprintf("scp -q -t %s", scpP15Destination)) payloadLen := uint8(len(payload)) payload = append([]byte{0, 0, 0, payloadLen}, payload...)