1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-06-12 09:41:53 +03:00

stub of C++ wrapper for libssh

This commit is contained in:
Aris Adamantiadis
2010-01-21 21:54:20 +01:00
parent 245deb2abe
commit 48ba9c9bc1
3 changed files with 78 additions and 1 deletions

10
examples/libsshpp.cpp Normal file
View File

@ -0,0 +1,10 @@
#include <libssh/libsshpp.hpp>
int main(int argc, const char **argv){
ssh::Session session;
session.setOption(SSH_OPTIONS_HOST,"localhost");
session.connect();
session.userauthAutopubkey();
return 0;
}