Actually, you can use just about anything to perform your transfer,
ftp, telnet, rsh, ssh, any thing that allows a connection between
machines. Remember, unix oses are 1, process based, and 2, socket
based. This means, you can tie commands together using the vertical
(|) character, and you can chain as many commands as you need to
accomplish a task. I've used tar to move entire drives from one place
to another, simply by running tar on the source machine, then using
rlogin (telnet isn't 8-bit clean) and running tar again on the target
machine. It's all doable, and you need no special software or timing,
a simple crontab entry will do the job for you if that's what you need.
You could do something like this:
tar -zc *.txt|ssh user@host 'tar -zx'
and all the txt files would be compressed, and tared up into an
archive, which would then be transferred over the pipe via ssh to the
remote machine, where upon tar would run and untar and uncompress the
txt files on the remote machine.
With this example, you'd need to be at the keyboard to type in the
password, but if you had proper key pairs setup, and you used the
proper command line parameters, you could remove this requirement.
hth.
On Sep 28, 2014, at 9:25 PM, Sarah k Alawami wrote:
So, I want to make a par of ssh keys, one to go on my home machine,
and one to go on my remote server. Easy enough I hope.
I then want to do an scp from my home computer to my remote server
at like 3 am this morning as I don't want to tie up my 8mbps up
bandwidth whilst everyone is awake. This I don't know how to do. I
red the manual on SCP but have no idea if what I want to do is
possible.
1. do I need to log in to my remote server via ssh before I go to
bed tonight then some how schedule the scp
2. if not how can I do this effectively as ncftp is no longer being
developed and lftp is not installed on my remote server?
<--- Mac Access At Mac Access Dot Net --->
To reply to this post, please address your message to mac-access@mac-access.net
You can find an archive of all messages posted to the Mac-Access
forum at the list's public Mail Archive:
<http://www.mail-archive.com/mac-access@mac-access.net/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml>
As the Mac Access Dot Net administrators, we always strive to ensure
that the Mac-Access E-Mal list remains malware, spyware, Trojan,
virus and worm-free. However, this should in no way replace your
own security strategy. We assume neither liability nor
responsibility should something unpredictable happen.
Please remember to update your membership preferences periodically
by visiting the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>
<--- Mac Access At Mac Access Dot Net --->
To reply to this post, please address your message to mac-access@mac-access.net
You can find an archive of all messages posted to the Mac-Access forum at
the list's public Mail Archive:
<http://www.mail-archive.com/mac-access@mac-access.net/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml>
As the Mac Access Dot Net administrators, we always strive to ensure that the
Mac-Access E-Mal list remains malware, spyware, Trojan, virus and worm-free.
However, this should in no way replace your own security strategy. We assume
neither liability nor responsibility should something unpredictable happen.
Please remember to update your membership preferences periodically by visiting
the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>