[OCLUG-Tech] Re: automated upload of files

2009-05-14 Thread nashjc
Thanks for all the replies. One (Mark) suggests scponly, which I came across myself in the meantime. It seems to be the sort of approach that may be simplest to set up. I'll do some investigation and testing and summarize my success (or lack thereof) sometime in the next couple of weeks. Cheers, J

Re: [OCLUG-Tech] Automatic upload of files to server

2009-05-14 Thread Michael Walma
Sorry, but I need to correct myself. SSH_ORIGINAL_COMMAND won't actually be useful; it does not even include the destination filename as supplied by the invoking user. Michael Michael Walma wrote: > If you want to try for fancier per-user file names, the > SSH_ORIGINAL_COMMAND environment variab

Re: [OCLUG-Tech] Automatic upload of files to server

2009-05-14 Thread Michael Walma
One thing you could do is use the "command=" option in the .ssh/authorized_keys file to force execution of a particular command when ssh/scp is run using a particular public key. You could then write a small bash or perl script to force scp and force it to the file of your choice. For example, pu

Re: [OCLUG-Tech] Automatic upload of files to server

2009-05-14 Thread Mark Little
On Wed, 13 May 2009 23:15:49 -0400, John C Nash wrote: > I'm trying to get various statisticians to run performance tests on > their machinery and have my "tester" put the results (roughly 30K file > per run) onto my server. I can do this in a cross-platform way with scp > (pscp in Windows, not

Re: [OCLUG-Tech] Automatic upload of files to server

2009-05-14 Thread Jeffrey Moncrieff
I would use rsync. rather then ftp. It is more ment for backups then ftp or sftp. It incremental backup protocol. Also I have heard amanda is also a great tool for backup's if would be worth investgateing Jeff Jeffrey Dean Moncrieff Moncrieff consulting IT Vancouver/Ottawa jeffrey.moncri

Re: [OCLUG-Tech] Automatic upload of files to server

2009-05-14 Thread Jeffrey Moncrieff
Anthor thing when You say mac are you talking mac os 7 or mac os X10.x is based on BSD which has I know for fact it has (ssh sftp,rsync,samba) Jeffrey Dean Moncrieff Moncrieff consulting IT Vancouver/Ottawa Cell (778)848-6161 Emergencies Only Please Home (604)583-9312 jeffrey.moncri...@yah

Re: [OCLUG-Tech] Automatic upload of files to server

2009-05-14 Thread Spencer Cheng
On May 13, 2009, at 23:15, John C Nash wrote: I'm trying to get various statisticians to run performance tests on their machinery and have my "tester" put the results (roughly 30K file per run) onto my server. I can do this in a cross-platform way with scp (pscp in Windows, not sure on Mac

RE: [OCLUG-Tech] Automatic upload of files to server

2009-05-14 Thread Rosberg, Michael
> I'm trying to get various statisticians to run performance tests on > their machinery and have my "tester" put the results (roughly 30K file > per run) onto my server. I can do this in a cross-platform way with scp > (pscp in Windows, not sure on Mac yet, but there should be an scp > client). How