Questions tagged [aws-sftp]
14 questions
6
votes
1 answer
Different between transfer:HomeFolder and transfer:HomeDirectory in AWS policies
When creating a scope-down policy for users in an AWS Transfer SFTP server, one can use the policy variables ${transfer:HomeFolder} and ${transfer:HomeDirectory} in that policy, according to the documentation. However, I couldn't find any…

Björn Pollex
- 75,346
- 28
- 201
- 283
2
votes
2 answers
Workaround for unsupported SETSTAT request on SFTP server with sshj
I'm trying to SFTP to a server using identity string: SSH-2.0-AWS_SFTP_1.0 with the following Java code using sshj.
com.hierynomus
sshj
…

conteh
- 1,544
- 1
- 17
- 39
1
vote
1 answer
how to copy file from aws sftp server to s3 bucket using aws lambda
I am trying to copy a file from an sftp server I created on the "aws transfer family" using the aws lambda function (java) and save that file to s3 storage. How can i do this? I would be grateful if anyone could provide some lambda code

Sasha
- 81
- 5
1
vote
2 answers
Unable to update security group on aws transfer server
I'm looking for whitelisting Ip addresses to secure an internet facing transfer server via terraform but unfortunately terraform AWS provider still doesn't support adding new security group to vpc endpoint via terraform aws transfer resource.
I…

pooja singh
- 86
- 1
- 10
1
vote
2 answers
how to provide a file content as an aws cli option value
I am trying to create an SFTP user with the help of AWS CLI in my Linux Box.
Below is the AWS CLI command which I am passing in my bash script (my ssh public key is in a file, with the help of variable I am passing same into AWS CLI options…

Naman Joshi
- 21
- 1
- 9
0
votes
1 answer
GPG Decrypt using AWS Transfer Family and Preserve Folder Structure
I am trying to decrypt a file uploaded via sFTP to an S3 bucket and preserve the folder structure of the s3 key.
I have a gpg-encrypted file being uploaded via sFTP to an S3 bucket. The customer uploads a file with a certain folder structure (which…

Ruth Smith
- 1
- 1
0
votes
1 answer
How to deny all actions to a specific folder inside S3 bucket?
Basically, this policy is for AWS Transfer Family. I need to deny all access to a specific folder inside the S3 bucket. I tried the below policy, but still I was able to list the contents of the folder. But it was denied for PUT and DELETE…

Ravichandran
- 427
- 1
- 3
- 16
0
votes
1 answer
AWS SFTP Transfer Family - Session policies
I have setup a AWS SFTP server with custom api gateway identity provider. The user is created as SFTP/username in secrets manager with following key, value pairs -
Password:
Role: // roleARN policy is as…

Prashant2329
- 327
- 3
- 7
- 21
0
votes
0 answers
How do I Get external data into my S3 bucket securely
I've found several options online to allow my customers to give me data that I want to eventually process. I want them to upload to S3. What is the best option? Ideally this would be done programmatically. With them to have the option to upload…

Roka
- 444
- 5
- 23
0
votes
1 answer
AWS SFTP VPC Internet Facing endpoint unable to connect
First of all, I have gone through forum and read around this but still no luck so posting .
I have created SFTP Server in VPC with Internet facing end point . It has got everything i.e
deployed in 2 private subnet , 2 Elastic IP attached to each…

saph1418
- 37
- 2
0
votes
1 answer
AWS Transfer for SFTP using AD connector
AWS Transfer Family supports integration with AD Connector (https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_connector_app_compatibility.html). As far as I understand, connectors are deployed in vpn-linked subnets that allows them…

Amir Keibi
- 1,991
- 28
- 45
0
votes
1 answer
Can I create a single user with public ssh key in AWS SFTP which can be accessible from any machine?
I have created a SFTP server in AWS and added a user with ssh public key,
I need to access the SFTP server from the same user from different machine.
How can we do this?

varsha
- 63
- 5
0
votes
2 answers
AWS Transfer for SFTP write only bucket access?
Is it possible to give an SFTP user a write only access to a bucket?
- Sid: AllowListingOfUserFolder
Action:
- s3:ListBucket
Effect: Allow
Resource:
- arn:aws:s3:::mybucket
- Sid: HomeDirObjectAccess
Action:
…

Tolga Evcimen
- 7,112
- 11
- 58
- 91
0
votes
1 answer
Amazon.Transfer.Model.InvalidRequestException: Cannot set HomeDirectory for LOGICAL HomeDirectoryType
Friends,
I have a Dictionary which contains a list of DepartmentIds and its s3 folder names. For e.g., { {key=1, value="dept-1"}, {key=2, value="dept-2"} } etc.
For each of those s3 folders, I would like to create a user…

user007
- 1,504
- 2
- 18
- 51