diff -uNr ../openssh-4.5p1.orig/scp.c ./scp.c
--- ../openssh-4.5p1.orig/scp.c	2006-12-12 13:08:35.000000000 -0800
+++ ./scp.c	2006-12-12 15:53:57.000000000 -0800
@@ -1163,6 +1163,14 @@
 			    rename(md_src, md_dst);
 			} else
 			    unlink(md_src);
+			if (setimes && wrerr == NO) {
+				setimes = 0;
+				if (utimes(md_dst, tv) < 0) {
+					run_err("%s: set times: %s",
+					np, strerror(errno));
+					wrerr = DISPLAYED;
+				}
+			}
 		} else
 #endif
 		if (setimes && wrerr == NO) {
