Sign in to follow this  

SSH C programming example

This topic is 3730 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
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

This topic is 3730 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this