[GH-ISSUE #369] Multiple SFTP clients #190

Closed
opened 2026-03-04 01:43:07 +03:00 by kerem · 2 comments
Owner

Originally created by @willembressers on GitHub (Mar 3, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/369

I've managed to setup the SFTP upload for me (ec2-user).

If I want to upload files, I connect to the instance (with filezilla), navigate to the /mnt/bucket and upload a file to the uploads folder.

This is fine (for me) but I want to give access to a third party to the specific (/mnt/bucket/uploads) folder only, preferably without navigation and an *.ppk key, but with (username: password) credentials.

Is this feasible? and if so how?

  • Do I need to create an AWS user with access to the EC2 (S3)?
  • Do I need to add an user on the instance and add it to an appropriate group?

I'm quite new to FTP (regarding setting up the server).

Cheers
Willem

Originally created by @willembressers on GitHub (Mar 3, 2016). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/369 I've managed to setup the SFTP upload for me (ec2-user). If I want to upload files, I connect to the instance (with filezilla), navigate to the `/mnt/bucket` and upload a file to the `uploads` folder. This is fine (for me) but I want to give access to a third party to the specific (`/mnt/bucket/uploads`) folder only, preferably without navigation and an *.ppk key, but with (username: password) credentials. Is this feasible? and if so how? - Do I need to create an AWS user with access to the EC2 (S3)? - Do I need to add an user on the instance and add it to an appropriate group? I'm quite new to FTP (regarding setting up the server). Cheers Willem
kerem closed this issue 2026-03-04 01:43:07 +03:00
Author
Owner

@RobbKistler commented on GitHub (Mar 4, 2016):

Hi Willem. It's feasible but this is more of a general Unix and EC2/S3 question. S3fs-fuse provides normal Unix user/group access control as long as you start it with the -oallow_other flag. You can create a Unix user in the instance with a password login, add the group to the user, and then give that group access. s3fs-fuse will always authenticate access to the bucket with the S3 access key you configure it with. It doesn't try to map Unix users to S3 IAM users, AFAIK.

<!-- gh-comment-id:192072091 --> @RobbKistler commented on GitHub (Mar 4, 2016): Hi Willem. It's feasible but this is more of a general Unix and EC2/S3 question. S3fs-fuse provides normal Unix user/group access control as long as you start it with the -oallow_other flag. You can create a Unix user in the instance with a password login, add the group to the user, and then give that group access. s3fs-fuse will always authenticate access to the bucket with the S3 access key you configure it with. It doesn't try to map Unix users to S3 IAM users, AFAIK.
Author
Owner

@willembressers commented on GitHub (Mar 4, 2016):

Thanks Robb

<!-- gh-comment-id:192256108 --> @willembressers commented on GitHub (Mar 4, 2016): Thanks Robb
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#190
No description provided.