Open insinfo opened 3 years ago
This package currently doesn't support desktop operating systems. I haven't used Windows much for quite a while now, but can you use the Linux subsystem to call ssh directly using Process.run?
Opa amigo, estou com uma situação parecida, estou cria um app desktop com flutter onde preciso uma SSH FLUTTER, só que no desktop estar dando erro. o pacote é este ( https://pub.dev/packages/ssh2 ), o erro é este ( MissingPluginException(No implementation found for method listen on channel shell_sftp)). preciso resolver este problema e não sei como peço uma dica. Obrigado
@sandoval-san eu fiz um um pacote que implementa os protocolos SSH/SCP/SFTP para usar com o Flutter desktop em cima da libssh, irei publicar no pub.dev
@insinfo I'd be very interested to see your Flutter package when it's ready. Using libssh directly through FFI is a much better solution that I've looked at some, but haven't had the time to get to yet. Let us know if we can help with development and testing efforts.
@jda258 @sandoval-san
I just published libssh_binding I haven't had a lot of time to document and write tests, but it's working fine for me in production, I use it for a server backup application called "fsbackup" which I'm also writing will be open source, in my internal testing i'm getting the same performance if not better than native scp, i'll be glad to get any help with documentation or improvements.
https://pub.dev/packages/libssh_binding https://github.com/insinfo/fsbackup
I'm currently developing an App Flutter for windows, where I need to send commands to a linux server via SSH, this commands will make the server mount a network share and copy backup files to this share, I'm trying to do this with this SSH lib https://github.com/TerminalStudio/dartssh
I currently have this code:
but it doesn't seem quite right