|
|||||||||||
|
sftp Newbie Questions!
From: Andrew McCall <it.andrew.mccall(at)oldham.gov.uk>
Date: Wed Jun 25 2003 - 06:22:01 EDT
(This email *does* have SSH questions - I promise you! :) ) I have just posted my scenario as it helps to understand the questions I am asking at the bottom. I am implementing a project to offer a free "drop-box" service for all the schools in our area, and these are the basic requirements. Server Requirements
o The sftp should only be accessed by a single IP address (the server
has multiple IP's, and SSH is already used for other things on other
IP's)
User Requirements
o Each school can read and write files their own directory
o Each school can write files into other's home directories, but they
can't view or overwrite other schools files
o A single administrator can read and write into all schools directories
o The users should only by navigate /exports/sftp/ and should be
I can do all this really easy with a normal ftp daemon such as ProFTPd or vsFTPd, however due to the nature of the files, they have to be transfered in an encrypted manner. I presumed (first mistake!) that sftp was just a normal ftpd tunneled through SSL and that it would be easy to set up. Now after a few days of searching the net, and a few hours of reading O'REILLY's SSH : The Secure Shell, I realise that I am wrong :) So here are my questions:
I was thinking about wrapping sftp-server into a script that echo's my message, then run sftp-server, but I don't know if this is possible or how secure this is. 2) How can I "jail" users to /exports/sftp? I am not too sure if this is possible.... 3) Am I correct in thinking that all my user-level security is done via normal file permissions? I could either use the firewall to block ports/IP's (as I will be doing anyway) so this isn't that important.... Thanks in advance for any help offered. -- Andrew McCallReceived on Wed Jun 25 12:09:21 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:03:00 EDT |
||||||||||
|
|||||||||||