1
0
Fork 0

Supress minor scp errors

timestamps
dump_stack() 2018-10-06 12:46:11 +00:00
parent 4e898b421a
commit 865de3b1a9
1 changed files with 3 additions and 1 deletions

View File

@ -270,7 +270,9 @@ func (q *QemuSystem) CopyFile(user, localPath, remotePath string) (err error) {
addr := addrPort[0]
port := addrPort[1]
cmd := exec.Command("scp", "-P", port, "-o", "StrictHostKeyChecking=no",
cmd := exec.Command("scp", "-P", port,
"-o", "StrictHostKeyChecking=no",
"-o", "LogLevel=error",
localPath, user+"@"+addr+":"+remotePath)
output, err := cmd.CombinedOutput()
if err != nil {