dartssh2
dartssh2 copied to clipboard
Web Support?
I am surprised that web support is listed on pub.dev.
AFAIK, browser extensions are currently required to make ssh connections. I shall look into the web socket code but perhaps you wouldn't mind explaining what is possible for flutter for web?
Thanks for your interest to this project @kevlar700.
As you said in browser no TCP connections could be made. However with dartssh2 it's possible to use transports other than TCP by implementing the SSHSocket interface. Possible transports could be WebSocket, SSE, or even WebRTC data channels.
One possible usage of this feature could be building ssh clients that works on web, like this one. The advantage is all encryption and authentications happens in the user's local browser, so the user doesn't have to upload the credentials to third parties.