Upload/Download files to an EC2 instance

I have used Qiime on an EC2 instance in the past, but not with Qiime2. I followed the instructions to successfully connect, however I am not sure how to upload/download files to the instance. SCP does not work, likely because there is no key pair. Sorry if I am overlooking something obvious, but I can’t seem to find where this is addressed in the forum.

UPDATE: I got it to work with WinSCP. I would still be curious to know if there is a way to do it with command line, otherwise the issue is resolved. Thanks.

Bill

Hey there @wlandesman --- SCP works over SSH, so you can just use the same port/user/password combo you use to log in. Here is an example of uploading a file (I just manually verified this using the 2018.11 AWS image):

$ scp file_to_upload.qza [email protected]:~/
[email protected]'s password:
file_to_upload.qza                                 100%    0     0.0KB/s   00:00

This dropped file_to_upload.qza into my homedir on the server:

$ ls
file_to_upload.qza  miniconda  miniconda.sh

Give that a whirl and let me know how it goes. :qiime2: :t_rex:

Yes, that worked. So simple. Thanks!

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.