Find the answer to your Linux question:
Results 1 to 3 of 3
hey i was wondering if anyone knows of a C++ SSH API. i've seen one for perl, and was wondering if there is anything similar for C++. thanks....
  1. #1
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665

    C++ ssh API

    hey i was wondering if anyone knows of a C++ SSH API. i've seen one for perl, and was wondering if there is anything similar for C++.

    thanks.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by meton_magis View Post
    hey i was wondering if anyone knows of a C++ SSH API. i've seen one for perl, and was wondering if there is anything similar for C++.

    thanks.
    I don't know of any, and openssh itself is not what I'd call an API, but you could use it since mixing c and c++ code is easy enough. Still, what most people usually do is to communicate with the userland tools directly.

    A good point to start looking (even if you are using C++) is the source for scp (included in openssh). I can't give any more concrete answer since I never looked into it myself. But I know it's a simple program and the source must be small enough so you can examine it relatively fast.

  3. #3
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    thanks, i'll look into it. I am just starting out with programing, so it might be good to look at a program that's considered stable, and see how they do things.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...