[Techtalk] sharing files - ssh and ftp
Rasjid Wilcox
rasjidw at openminddev.net
Sat May 3 09:28:47 EST 2003
On Saturday 03 May 2003 04:26, kim dang wrote:
> Hi,
> I would like some suggestion for the following
> problems on sharing files.
> I would like to share some directories with some users
> but I dont want them to be able to roam around.
>
> With ssh there an easy way I can set up the
> sshd_config file of Openssh so that users are limited
> to say their home directory and the directory /pub
I presume you meant 'With ssh is there an easy way'...
Not was far as I know. If there is, let us know! :-)
The only ways I can think of would be to use a chroot setup, or possibly a
User Mode Linux arrangement.
> Some users do not need to have a login shell and only
> need to be allowed to download. I have seen some
> suggestions online to change the /etc/passwd so user
> has a "/usr/bin/bash -r" for restricted, but then the
> user can not ssh in at all.
>
> Some users should have access to a bash shell and be
> able to upload to their home directory. Am I going to
> have to use FTP?
FTP is going to do what you want to do far more easily. For a free
open-source windows FTP client with SSL (and SFTP) support, look at Filezilla
(http://filezilla.sourceforge.net/). If not familiar with setting up a FTP
server with SSL support, but I'm sure Google can help.
> Many of these friends of mine are only using a windows
> client machine to login, and although I will be able
> to get them to install WinSCP client app, there's not
> much else i can do.
Good luck,
Rasjid.
--
Rasjid Wilcox
Canberra, Australia UTC + 10
http://www.openminddev.net
More information about the Techtalk
mailing list