Thread: Using ssh in C code

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    4

    Using ssh in C code

    Hi,
    Iam writing a C program, which should use "ssh" to login to another computer execute some steps and logout and come back to my own computer.

    if I use system command eg system ("ssh IP");
    iam able to go to different PC but iam not able to come out as all further system commands dont execute .

    Is their any way I can do it ?

  2. #2
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,732
    Have you looked at the OpenSSL-dev library. Have a look at their home page. You should get some good API's which you could use!!

    ssharish
    Last edited by ssharish2005; 09-27-2008 at 06:55 AM.

  3. #3

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 07:34 AM
  2. Obfuscated Code Contest: The Results
    By Stack Overflow in forum Contests Board
    Replies: 29
    Last Post: 02-18-2005, 05:39 PM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 06:05 PM

Tags for this Thread