1
0
Fork 0

Revert "Use the legacy SCP protocol for directory transfers instead of SFTP"

This reverts commit cc1261b0b0.
timestamps
dump_stack() 2023-03-16 18:54:48 +00:00
parent 12d5d43d7a
commit feb1ab7d37
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions

View File

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