Jump to content
  • Advertisement
Sign in to follow this  
Joncombat

SSH C programming example

This topic is 3944 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to connect to a device that uses SSH protocol using ANSI C. Currently I am uing PUTTY.exe to connect to the device. When connected the device prompts for a user name and password which is easily entered using PUTTY. Once connected I need to type test commands and review the test responses. Does anyone have software (ANSI C) that can connect to the device and send/receive data using the SSH protocol? I am not familiar with SSH protocols or network communication using ANSI C? Thanks in advance! Jon k.

Share this post


Link to post
Share on other sites
Advertisement
If you are doing automated connections, you should really look into keys.

You weren't thinking of trying to hard-code login information into the application, or provide it through external configuration file, were you?

Share this post


Link to post
Share on other sites
I am trying to make sense of the softare I dowloaded from http://www.0xbadc0de.be/wiki/libssh:libssh. I unzipped it buy my CVI software does not recognize the file for some reason. The plan was to hard code the information in the software since it is constant and will not change.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!