![]() |
| | #1 |
| Registered User Join Date: Jan 2007
Posts: 4
| SSH via C program How shall i estalblish SSH connection to other machine and send my char *buffer through c program? somewhere i have read that first we have establish connection to other terminal and then run program. In program, i just have to write char *buffer to stdout and my os will take care of putting this data on SSH channel. Any idea about this? Yogesh |
| yogesh3073 is offline | |
| | #2 |
| Protocol Test Engineer Join Date: Sep 2005 Location: fseek(UK)
Posts: 1,324
| why do want to do it like that rather than using the functions like send and recv. ssharish2005 |
| ssharish2005 is offline | |
| | #3 |
| Registered User Join Date: Jan 2007
Posts: 4
| send & recv send and recv work only with normal TCP/IP socket. Here I need information on sending data through SSH. In my C program, how shall I ensure that SSH channel is established? Then how to send data through that channel. Yogesh |
| yogesh3073 is offline | |
| | #4 |
| Registered User Join Date: Apr 2006
Posts: 20
| You need a SSH library. http://www.0xbadc0de.be/libssh:libssh |
| lawina is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SSH C Program | Joncombat | C Programming | 1 | 11-14-2007 09:04 AM |
| Using variables in system() | Afro | C Programming | 8 | 07-03-2007 12:27 PM |
| SSH program | afreedboy | Tech Board | 2 | 03-18-2005 10:47 PM |
| My program, anyhelp | @licomb | C Programming | 14 | 08-14-2001 10:04 PM |