This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

ssh-xfer: Quickly grabbing files over an existing SSH connection

Posted by: Anonymous [ip: 135.222.110.184] on August 08, 2008 04:29 PM
can i really trust a consultant with a PhD who can't keep the clocks on two machines in sync using NTP?
myserver is 8 minutes ahead of mydesktop. :*)


ben@myserver ~$ date > myserver-testfile.txt
ben@myserver ~$ ssh-xfer myserver-testfile.txt
Sending file
. done.
ben@myserver ~$ exit
ben@myserver ~$ cd ~/Desktop
ben@desktop Desktop$ ls -lh
-rw------- 1 ben ben 29 2008-07-21 21:11 myserver-testfile.txt
ben@desktop Desktop$ cat myserver-testfile.txt
Mon Jul 21 21:19:14 EST 2008

#

Return to ssh-xfer: Quickly grabbing files over an existing SSH connection