-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which comands i should use? #19
Comments
Hello, I'm missing the first error in your compilation which may hint to the issue. Have you compiled and run the examples successfully? |
Thank you for your quick response, im just trying to make simply clien, and the examples are too complicated for me to understand, so, when i simply replaced "Your ssid"/ "localhost" and other vars to my vars it doesnt compilated because of error. I tried to use examples which named "exec" and OTAclientSCP(exec doesnt work; Otaclient is working). it would be great if i can wrote code by myself. So maybe you will help me to understand why in my code i gettings error like that ": error: 'SSH_OPTIONS_HOST' was not declared in this scope |
Yes, the examples were ported mainly from upstream where they were written for Unix/Linux type systems. Hence for SSH_OPTIONS_HOST you may need to include additional headers, for example in
|
Thank you sir! I also have some questions about the algorithm of executing commands at the server. Am I to understand that firstly I must create two necessary objects "channel" and "session" if i want to send the commands? Also when i oppened channel can i send 2 or more(unlimited) commands to server? Or we have limit? |
Create a session first ( |
Greetengs sir! Thank you for your work! Im trieng to make SSH client on ESP32, my point is to connect my esp to server on linux and exec some comands on linux server. But then im trieng to use some default commands i get some errors, please could you give me link to actual
documentation?`` ![scr](https://user-images.githubusercontent.com/101997038/172701784-4c9bde62-8eea-440f-b352-e4cba844ab5e.JPG)
The text was updated successfully, but these errors were encountered: