Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-16-2008, 09:30 AM
|
#1
|
LQ Newbie
Registered: Jun 2007
Posts: 23
Rep:
|
file time stamp is wrong with ssh file transfer
when I transfer a file using SSH file transfer protocal from a local machin running Windows 2000 to a server running Linux RedHat Advanced Server 4.0, I found that the file on the server has a wrong time stamp, 8 hours ahead of correct time. However, the local time (both hardware clock and system clock) are correct.
Please help.
Felix
|
|
|
05-16-2008, 03:47 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
What time-zone are you in?
Cheers,
Tink
|
|
|
05-17-2008, 01:20 AM
|
#3
|
LQ Newbie
Registered: Jun 2007
Posts: 23
Original Poster
Rep:
|
Tinkster thank you for your hint. However, I have checked the time zone (Asia/ShangHai). iT is correct to me.
|
|
|
05-17-2008, 06:32 AM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
OK ... and what tool/program are you using to transfer the
files with? Not that I know much about any of the things
that are available for windows, mind you.
Cheers,
Tink
|
|
|
05-17-2008, 06:40 AM
|
#5
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
Also, is hardware clock on your RedHat box set to UTC or localtime?
|
|
|
05-18-2008, 02:31 AM
|
#6
|
LQ Newbie
Registered: Jun 2007
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by Tinkster
OK ... and what tool/program are you using to transfer the
files with? Not that I know much about any of the things
that are available for windows, mind you.
Cheers,
Tink
|
Tinkster thank you again.
I use SSH to transfer file
|
|
|
05-18-2008, 02:32 AM
|
#7
|
LQ Newbie
Registered: Jun 2007
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by raskin
Also, is hardware clock on your RedHat box set to UTC or localtime?
|
Thank you raskin for response.
No, UTC=false in my case. Does that cause the problem?
|
|
|
05-18-2008, 02:39 AM
|
#8
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally Posted by cy163
Tinkster thank you again.
I use SSH to transfer file
|
ssh as in from within cygwin?
|
|
|
05-18-2008, 02:40 AM
|
#9
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally Posted by cy163
Thank you raskin for response.
No, UTC=false in my case. Does that cause the problem?
|
Sounds like that might be your 8 hours. Not sure how whatever
program you're using controls the time-stamp, though.
|
|
|
All times are GMT -5. The time now is 01:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|