Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCP with OT-2 as client question #161

Open
curtiskennedy opened this issue Jun 13, 2022 · 3 comments
Open

SCP with OT-2 as client question #161

curtiskennedy opened this issue Jun 13, 2022 · 3 comments

Comments

@curtiskennedy
Copy link

Apologies if this is the wrong place to ask this question.

Our lab currently uses SCP with a windows client to transfer csv files to the OT-2 which are then read by protocols. We are wondering if we could instead use SCP with the OT-2 as the client, as described in the following use case.

Use case

Python API protocols on the OT-2 will be able to fetch csv files from server(s) using scp/ssh. These csv files can then read and used by the protocol, and the protocol can delete them from the OT-2 upon completion.

Question

Is there a way that we could set up such a workflow? We've tried to run ssh and scp commands from the OT-2 and run into the following errors:

ssh command error:
-sh: ssh: not found

scp command error:

/usr/bin/dbclient: No such file or directory
lost connection
@mcous
Copy link
Contributor

mcous commented Jun 13, 2022

Apologies if this is the wrong place to ask this question.

This is the best place to ask this question!

The OT-2 does not currently have an SSH client installed. It is, however, able to make HTTP(S) requests. Is your server able to host the files over HTTP?

@curtiskennedy
Copy link
Author

Appreciate the response and adding the feature-request!. I do believe we can set up HTTP file hosting and will look into this solution. Thanks!

@mcous
Copy link
Contributor

mcous commented Jun 17, 2022

Chatted this over with some folks here and there's a general sentiment that adding an SSH client to the OS is a good move. It definitely can't happen until after #148, though, so don't hold your breath!

Will post updates in this thread when we've got more to report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants