sftp/scp only without real users
Thomas Güttler
guettliml at thomas-guettler.de
Tue Oct 10 02:41:30 AEDT 2017
Hi,
thank you for your feedback.
We now use a different solution.
Since I could not find a generic http upload tool, I wrote one myself.
It is available here: https://github.com/guettli/tbzuploader
The API is very easy: If the sever replies with 201 (http status for created)
then the upload is considered successful and the local files get moved
to a "done directory".
Feedback is welcome.
Regards,
Thomas Güttler
Am 02.09.2017 um 06:46 schrieb Nico Kadel-Garcia:
> On Fri, Sep 1, 2017 at 5:11 AM, Thomas Güttler Lists
> <guettliml at thomas-guettler.de> wrote:
>> Hi,
>>
>>
>> my goal: sftp/scp only access, without the need for linux users.
>>
>> I want to provide 10 sftp/scp directories to 10 people. Let's call this
>> "virtual account"
>>
>> I don't want to create linux users for each of them.
>>
>> I would like to create one linux user (backup_user). In his home-directory
>> will be 10 directories. For each "virtual account" one directory.
>
> Sounds like you want an old tool called "rssh", with chroot cages.
> Some of my tools to help set it up are at:
>
> * https://github.com/nkadel/rssh-chroot-tools
>
> However, if I may suggest? It sounds like you may be better with an
> "ftps" system, not an "sftp" system. Please look up "vsftpd" and how
> it can be configured this way, with a variety of authentication
> protocols to go with it.
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>
--
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines
More information about the openssh-unix-dev
mailing list