shaqian / flutter_ssh

SSH and SFTP client for Flutter
https://pub.dartlang.org/packages/ssh
MIT License
117 stars 83 forks source link

Linux support #48

Open piecubed opened 4 years ago

piecubed commented 4 years ago

I'm running into this issue when I run this on linux.

[ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method connectToHost on channel ssh)

I'm guessing this is an issue with the plugin not being registered, so this might be an upstream error.

PegasisForever commented 4 years ago

This is because the author didn't write implementation for linux platform.

piecubed commented 4 years ago

Well can the author write an implementation?

PegasisForever commented 4 years ago

well he can, but I doubt he knows how, and I don't know how either.

If you need ssh on linux now, you can use Process to run command line ssh directly.

W2NJL commented 3 years ago

well he can, but I doubt he knows how, and I don't know how either.

If you need ssh on linux now, you can use Process to run command line ssh directly.

Could you possibly elaborate a little more on using Process? Would it be in conjunction with this plugin? (Looking to figure out how to get a Flutter app to run some commands and get output via SSH)

Thank you!