-
Notifications
You must be signed in to change notification settings - Fork 9
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
Linux Support? #5
Comments
I'm glad to contribute back to the community! This is what I do in my app currently for macOS and Linux: processResult = await Process.run('ssh', ["$username@$address", executeCommand]);
print('stdout: ${processResult.stdout}'); This works well for executing commands with key based auth. |
If you've already generated a key in ~/.ssh/ it will work without changes. You can use the -i flag to specify a file as well. From the ssh man page:
|
If you're thinking about passing a string, I'd stay away from that. It's better to write a temporary file with proper permissions. There's more discussion about that here: https://stackoverflow.com/questions/12041688/specify-private-key-in-ssh-as-string Enjoy your Labor Day weekend! I'm on the other side of the Atlantic, and we have Jeûne genevois this week. |
Thank you for the hard work keeping this package alive!
I'm just wondering if there is any possibility to get this to function with Linux/Ubuntu command line in the future? OR, if there might be a way to get it to work as-is that I am not thinking of?
The text was updated successfully, but these errors were encountered: