Giter VIP home page Giter VIP logo

Comments (3)

stuicey avatar stuicey commented on May 27, 2024

Is there a specific reason you need to use webusb? I'm not familiar with its capabilities but I imagine you'd need some sort of proxy on the SSH server to interface between hardware and TCP stack.

If you really need to use webusb, I think you'd need to replace all the websocket functions with their webusb equivalent ( onmessage, send, new connection). Which would be easiest done with the wrapper by editing js/SSHyClient.js and recompiling, as the wrapper doesn't have IP validation.

As long as there is an end-to-end method of communication between client and server it should work. The SSHy client expects and supplies data to be encoded as a string with the SSH headers and padding included.

from sshy.

tayler0101 avatar tayler0101 commented on May 27, 2024

Actually i have gateway (without hdmi or vga port so the only option is is to communicate through serial port with Webusb ) with linux on it, as in the other end (the gateway) i am simple port forwarding socat to forward all the packet from the serial port to ssh port.
I will try edit the js/SSHyClient.js and customize it to fit my request.
do you have plan to support the public key in ssh, i mean without password or it is already supported, sorry for some question if it look like silly questions

from sshy.

stuicey avatar stuicey commented on May 27, 2024

Best of luck with that!

I haven't implemented public key yet, its something I'd like to do but haven't looked into yet.

from sshy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.