-3

Can you upload to AWS S3 via SCP or SFTP? I can't install s3 utilities on my linux env so i wanted to know if there was another way to do this?

Right, I download the file from my linux env to my laptop and then upload via the web browser...not very efficient...

lightweight
  • 3,227
  • 14
  • 79
  • 142

1 Answers1

1

Unfortunately there is no such option for SCP, SFTP or even FTP transfers to Amazon S3 (see this Stack overflow post for example).

If you are able to install software on your linux machine, you could use s3fuse to mount your S3 bucket as a filesystem and then just copy the files to that mounted filesystem.

If you aren't able to install additional software on your linux machine at all, you could also launch an Amazon EC2 instance, e.g. a t2.micro instance eligible for the free-tier usage, and transfer your files to S3 via the EC2 instance.

Community
  • 1
  • 1
Raphael
  • 813
  • 5
  • 7
  • 1
    On the t2.micro you suggested, you can install proftpd and s3fs and, when properly configured, you have an sftp/ftp-to-S3 gateway, essentially establishing the capability of sending files to S3 using a client that only understands (s)ftp: http://stackoverflow.com/a/23946418/1695906 – Michael - sqlbot Aug 27 '15 at 00:40
  • This question is off-topic as it is not about programming. Please do not answer off-topic questions. – AStopher Aug 27 '15 at 10:37