Skip to content

Instantly share code, notes, and snippets.

@bararchy
Created November 25, 2014 14:07
Show Gist options
  • Save bararchy/7ecdb89111be07fb89ba to your computer and use it in GitHub Desktop.
Save bararchy/7ecdb89111be07fb89ba to your computer and use it in GitHub Desktop.
C SSH
#include <libssh/libssh.h>
#include <libssh/server.h>
#include <libssh/callbacks.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
/* some def */
int main ()
{
int sshbind;
sshbind = ssh_bind_new();
int session;
session = ssh_new();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment