Timestamp not preserved by Cygwin sshd
Fri Oct 21 04:54:00 GMT 2005
Alright, so the simplest solution was indeed to
switch to WinSCP client which does indeed preserve the
timestamp of the copied file correctly (and not a bad
GUI interface to boot). This resolved the
incompatibility between the -p switch from non-OpenSSH
clients and cygwin's OpenSSHD.
Thanks for the help Chris.
P.S. Just as an aside - it turns out, however, that
now the timestamp of the folders are not preserved.
This is not a big deal but def. strange as the use of
non-OpenSSH clients preserved the folder's timestamp
(although not the files within). Odd, odd, but not a
big deal. I will direct the question to WinSCP as this
has likely nothing to do with cygwin.
--- Chris Taylor <firstname.lastname@example.org> wrote:
> Alex Luso wrote:
> > Perhaps you are right and it doesn't have to do
> > cygwin. I found this to happen when I tried to scp
> > cygwin with two different clients from 2 different
> > machines (both non-OpenSSH, I believe). On the
> > hand, when I scp in between these 2 clients, there
> > no error. So I suppose this is an incompatibility
> > between different flavors of SSH?
> > Can someone suggest a workaround - i.e. settings
> > the server side (cygwin/OpenSSH) - that would
> > the failure of the -p switch from a non-OpenSSH
> > client? I am using a nice gui for SCPing files
> > windows machines (SSH Secure Shell 3.2) and would
> > to be able to continue to use it.
> Please don't top-post!
> Anyway, a possible solution would be to use WinSCP -
> afaik this doesn't
> have any trouble preserving the timestamp. I know it
> doesn't with
> OpenSSH on debian, so I would assume this is also
> the case on cygwin -
> unfortunately I can't test this just now.
> It's also a very nice tool.. ;-)
> Spinning complacently in the darkness, covered and
> blinded by a blanket
> of little lives, false security has lulled the
> madness of this world
> into a slumber. Wake up! An eye is upon you, staring
> straight down and
> keenly through, seeing all that you are and
> everything that you will
> never be. Yes, an eye is upon you, an eye ready to
> blink. So face
> forward, with arms wide open and mind reeling. Your
> future has
> arrived... Are you ready to go?
> Unsubscribe info:
> Problem reports:
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
Yahoo! Mail - PC Magazine Editors' Choice 2005
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin