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 {