From 7d290a5df1587df1055aae83b616a4a1c8697784 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Mon, 29 Oct 2018 13:50:07 -0700 Subject: [PATCH] dont change ssh communicator as part of this pr --- communicator/ssh/communicator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/communicator/ssh/communicator.go b/communicator/ssh/communicator.go index 5c9be02bc..a6ebeefa2 100644 --- a/communicator/ssh/communicator.go +++ b/communicator/ssh/communicator.go @@ -576,7 +576,7 @@ func (c *comm) scpUploadSession(path string, input io.Reader, fi *os.FileInfo) e return scpUploadFile(target_file, input, w, stdoutR, fi) } - return c.scpSession("scp -vt "+strconv.Quote(target_dir), scpFunc) + return c.scpSession("scp -vt "+target_dir, scpFunc) } func (c *comm) scpUploadDirSession(dst string, src string, excl []string) error {