1
0

Use the legacy SCP protocol for directory transfers instead of SFTP

This commit is contained in:
dump_stack() 2023-02-16 08:30:29 +00:00
parent 24b6749504
commit cc1261b0b0
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -378,7 +378,7 @@ func (q System) scp(user, localPath, remotePath string, recursive bool) (err err
} }
if recursive { if recursive {
args = append(args, "-r") args = append(args, "-O", "-r")
} }
args = append(args, localPath, user+"@"+addr+":"+remotePath) args = append(args, localPath, user+"@"+addr+":"+remotePath)