home | list info | list archive | date index | thread index

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

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 [ dot ] moncrieff [ at ] yahoo [ dot ] ca




________________________________
From: Spencer Cheng <scheng [ at ] aotera [ dot ] org>
To: linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
Sent: Thursday, May 14, 2009 10:03:59 AM
Subject: Re: [OCLUG-Tech] Automatic upload of files to server


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 yet, but there should be an scp client). However, this uses key pairs and possibly opens up the pseudo user on my server. Does anyone have pointers to how to lock down security holes? I'd like to avoid using web protocols and just keep ssh open if I can.

I use ssh for subversion commits and restrict my users from gaining shell access by using the "command=" field in authorized_keys. Not sure if a similar thing could be done for scp. On my svn server, I have this in the authorized_keys files -

command="umask 002;/usr/bin/svnserve -t -r /home/project",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa [RSA public key goes here...]

Openssh is available on the Mac. It's what I use every day.

Regards,
Spencer

_______________________________________________
Linux mailing list
Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
http://oclug.on.ca/mailman/listinfo/linux



      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.