Giter VIP home page Giter VIP logo

Comments (7)

ejohnstown avatar ejohnstown commented on May 27, 2024 1

"ssh_client" refers to any ssh client. You should be able to use OpenSSH's ssh, PuTTY, etc.

from wolfssh.

ejohnstown avatar ejohnstown commented on May 27, 2024 1

And it is a little more complicated than that. Continue to the "testing notes" section. That will describe the sample fake user accounts the echoserver provides. Authentication is environment dependent, and the echoserver provides a fake environment with two users with passwords and two users with public keys.

from wolfssh.

ejohnstown avatar ejohnstown commented on May 27, 2024 1

The example server you are running is an echoserver. Anything you type in the client is echoed by the server. The client does not have local echo, so the characters you see have taken a round trip. Note, the end of line received ends up being a CR, without a LF. The local echo ends up writing over itself. The user accounts jack, jill, hansel, and gretel are limited to the echoserver.

wolfSSH implements the SSH protocol as a library to be built into an application. You can use it to talk to the OpenSSH server, and you can use the OpenSSH client, ssh, to talk to the echoserver.

--John

from wolfssh.

Vaibhav1587 avatar Vaibhav1587 commented on May 27, 2024

Thanks!!

Starting echoserver and client but nothing going beyond that.. screenshot attached

Is this the normal behavior ? I was expecting a prompt :| on successful login...
wolfssh

from wolfssh.

Vaibhav1587 avatar Vaibhav1587 commented on May 27, 2024

Great!! Awesome work.

Is there any tutorial or more examples on wolfssh?
Basically now I need to connect the my server over ssh using public key.

from wolfssh.

ejohnstown avatar ejohnstown commented on May 27, 2024

The only examples are the ones in the examples directory. The client example's authentication callback function handles collecting the password. You'd have to write your own callback to use an RSA or ECC private key. The echoserver has an example of the server side handling the public keys in its callback. (The authentication callback is required, but it is user application defined.)

from wolfssh.

Vaibhav1587 avatar Vaibhav1587 commented on May 27, 2024

Thanks !!

from wolfssh.

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.