Compare commits
174 Commits
libssh2-1.
...
libssh2-1.
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f1cfa55b60 | ||
![]() |
437a3b75ec | ||
![]() |
a3ad635db4 | ||
![]() |
e5c5408564 | ||
![]() |
fe8f3deb48 | ||
![]() |
d49b8f303a | ||
![]() |
6f8777505f | ||
![]() |
52b8da7dfa | ||
![]() |
de7b5d3bc0 | ||
![]() |
b31e35aba6 | ||
![]() |
e2bb780d77 | ||
![]() |
a8cfc708c5 | ||
![]() |
9f6fd5af82 | ||
![]() |
5d567faecc | ||
![]() |
bfbb5a4dc7 | ||
![]() |
43b730ce56 | ||
![]() |
6af85b6053 | ||
![]() |
05641218bc | ||
![]() |
42fec44c8a | ||
![]() |
e470738a0c | ||
![]() |
62cc59cd06 | ||
![]() |
1abf2057de | ||
![]() |
6c27922ac1 | ||
![]() |
112845df0b | ||
![]() |
499b22ca36 | ||
![]() |
6403519fcf | ||
![]() |
6f8dd9baff | ||
![]() |
a1c0d97ff9 | ||
![]() |
5c065bf1ff | ||
![]() |
5237177daf | ||
![]() |
bd627d38a1 | ||
![]() |
c55b0b0425 | ||
![]() |
38efbe8243 | ||
![]() |
34ecc09a3c | ||
![]() |
d6cf1c7df0 | ||
![]() |
a40c160cff | ||
![]() |
29e256e817 | ||
![]() |
137342a41d | ||
![]() |
79a7ca3085 | ||
![]() |
50e37bdadc | ||
![]() |
04e79e0c79 | ||
![]() |
9a36065b52 | ||
![]() |
1ac7bd09cc | ||
![]() |
9a7311ba57 | ||
![]() |
e07b11b7df | ||
![]() |
e885300b18 | ||
![]() |
92a9f95279 | ||
![]() |
e91d4c9790 | ||
![]() |
69a3354467 | ||
![]() |
3ede6e280e | ||
![]() |
b583311a93 | ||
![]() |
27ac5aa40d | ||
![]() |
a123051200 | ||
![]() |
62901253a4 | ||
![]() |
7c5ee0fa66 | ||
![]() |
1e15075a8e | ||
![]() |
ad63fc2df6 | ||
![]() |
d46185eaa5 | ||
![]() |
9c4b380dd6 | ||
![]() |
e887a8bd0f | ||
![]() |
04692445d4 | ||
![]() |
a955f8428b | ||
![]() |
ededdfa9c2 | ||
![]() |
11f9dce3d7 | ||
![]() |
6bbebcf36c | ||
![]() |
7a87bba02a | ||
![]() |
c8374cdc10 | ||
![]() |
9b2bed22fc | ||
![]() |
c8cc30c996 | ||
![]() |
acd9bd6104 | ||
![]() |
2ea40e63e8 | ||
![]() |
f4f2298ef3 | ||
![]() |
cc4f9d5679 | ||
![]() |
fed0759720 | ||
![]() |
a46ef85a56 | ||
![]() |
626f91da07 | ||
![]() |
bf097e37b0 | ||
![]() |
a1c996cef1 | ||
![]() |
8fc16beda9 | ||
![]() |
9a42fac055 | ||
![]() |
7194a9bd7b | ||
![]() |
7e53949e66 | ||
![]() |
5672e8f4cf | ||
![]() |
4449905ea5 | ||
![]() |
8e0cddd01f | ||
![]() |
796a5195d3 | ||
![]() |
15aadb930d | ||
![]() |
f28264c6a3 | ||
![]() |
179d2197dd | ||
![]() |
aa8f2cbf33 | ||
![]() |
e07342443f | ||
![]() |
4774d500e7 | ||
![]() |
1403847429 | ||
![]() |
0d824e5702 | ||
![]() |
9836b0889f | ||
![]() |
e394987911 | ||
![]() |
e95c7de453 | ||
![]() |
effbb72192 | ||
![]() |
0ebe6f44bd | ||
![]() |
b3ade9a63e | ||
![]() |
388920cf3c | ||
![]() |
6bd584d293 | ||
![]() |
e68c895fc4 | ||
![]() |
511a972a95 | ||
![]() |
3401b374c9 | ||
![]() |
209de22299 | ||
![]() |
b8dd697796 | ||
![]() |
09139ef065 | ||
![]() |
d903b81c64 | ||
![]() |
4f61824908 | ||
![]() |
fed94fa85d | ||
![]() |
378311fe5b | ||
![]() |
139278b79f | ||
![]() |
a0e13cc828 | ||
![]() |
f4e5ca2f14 | ||
![]() |
c0974e5ca3 | ||
![]() |
c292378327 | ||
![]() |
ee07785a1e | ||
![]() |
24afd0fc72 | ||
![]() |
abd00727ef | ||
![]() |
4b77724b3b | ||
![]() |
33865b8936 | ||
![]() |
16dd675f4d | ||
![]() |
30e28817f2 | ||
![]() |
03ca902075 | ||
![]() |
7d58994571 | ||
![]() |
6d9d44a550 | ||
![]() |
d343e3405a | ||
![]() |
8d3709f57a | ||
![]() |
d2dc600be7 | ||
![]() |
0f9e81c6f3 | ||
![]() |
46792a9fca | ||
![]() |
b5cd8fe120 | ||
![]() |
8faefc0a8a | ||
![]() |
f9afe854d3 | ||
![]() |
26a9aca598 | ||
![]() |
bff91fe2a0 | ||
![]() |
e0e8d3b0b7 | ||
![]() |
52d24bc9d2 | ||
![]() |
e399a852b9 | ||
![]() |
3fb3ba571b | ||
![]() |
1f2c1f9e09 | ||
![]() |
c75ae587c0 | ||
![]() |
2e12cfaa23 | ||
![]() |
7ed53e21fd | ||
![]() |
7229d989e7 | ||
![]() |
f2c21f6f84 | ||
![]() |
a6ebc6f9fd | ||
![]() |
87f79f177f | ||
![]() |
30ac056cb0 | ||
![]() |
c45de9176b | ||
![]() |
ff40c58743 | ||
![]() |
10b66cef08 | ||
![]() |
81bdcf61f3 | ||
![]() |
50d451e307 | ||
![]() |
3f2b1dea5e | ||
![]() |
7c9b84d1d1 | ||
![]() |
1ba42ea847 | ||
![]() |
507d5f96cf | ||
![]() |
84d8728835 | ||
![]() |
296d57bb2c | ||
![]() |
9e79031ad7 | ||
![]() |
689fc5c596 | ||
![]() |
31a9e8860d | ||
![]() |
b26c3e7cce | ||
![]() |
e4eeb85f01 | ||
![]() |
7de77e94bf | ||
![]() |
8c0294db66 | ||
![]() |
900c90ccbe | ||
![]() |
d5eec4aad9 | ||
![]() |
19864f0f64 | ||
![]() |
420f0b7793 | ||
![]() |
7aa4bfc671 | ||
![]() |
462996b064 |
32
AUTHORS
32
AUTHORS
@@ -6,31 +6,57 @@
|
|||||||
Adam Gobiowski
|
Adam Gobiowski
|
||||||
Alexander Holyapin
|
Alexander Holyapin
|
||||||
Alexander Lamaison
|
Alexander Lamaison
|
||||||
|
Alfred Gebert
|
||||||
Ben Kibbey
|
Ben Kibbey
|
||||||
Bjorn Stenborg
|
Bjorn Stenborg
|
||||||
Carlo Bramini
|
Carlo Bramini
|
||||||
|
Cristian Rodríguez
|
||||||
|
Daiki Ueno
|
||||||
Dan Casey
|
Dan Casey
|
||||||
Dan Fandrich
|
Dan Fandrich
|
||||||
Daniel Stenberg
|
Daniel Stenberg
|
||||||
|
Dave Hayden
|
||||||
|
Dave McCaldon
|
||||||
David J Sullivan
|
David J Sullivan
|
||||||
David Robins
|
David Robins
|
||||||
|
Dmitry Smirnov
|
||||||
|
Douglas Masterson
|
||||||
Edink Kadribasic
|
Edink Kadribasic
|
||||||
Erik Brossler
|
Erik Brossler
|
||||||
Francois Dupoux
|
Francois Dupoux
|
||||||
|
Gellule Xg
|
||||||
|
Grubsky Grigory
|
||||||
Guenter Knauf
|
Guenter Knauf
|
||||||
Heiner Steven
|
Heiner Steven
|
||||||
|
Henrik Nordstrom
|
||||||
James Housleys
|
James Housleys
|
||||||
|
Jasmeet Bagga
|
||||||
Jean-Louis Charton
|
Jean-Louis Charton
|
||||||
|
Jernej Kovacic
|
||||||
|
Joey Degges
|
||||||
|
John Little
|
||||||
|
Jose Baars
|
||||||
Jussi Mononen
|
Jussi Mononen
|
||||||
|
Kamil Dudka
|
||||||
|
Lars Nordin
|
||||||
Mark McPherson
|
Mark McPherson
|
||||||
|
Mark Smith
|
||||||
Markus Moeller
|
Markus Moeller
|
||||||
|
Matt Lilley
|
||||||
|
Matthew Booth
|
||||||
|
Maxime Larocque
|
||||||
Mike Protts
|
Mike Protts
|
||||||
Mikhail Gusarov
|
Mikhail Gusarov
|
||||||
Neil Gierman
|
Neil Gierman
|
||||||
Olivier Hervieu
|
Olivier Hervieu
|
||||||
|
Paul Howarth
|
||||||
|
Paul Querna
|
||||||
Paul Veldkamp
|
Paul Veldkamp
|
||||||
|
Peter Krempa
|
||||||
Peter O'Gorman
|
Peter O'Gorman
|
||||||
Peter Stuge
|
Peter Stuge
|
||||||
|
Pierre Joye
|
||||||
|
Rafael Kitover
|
||||||
Romain Bondue
|
Romain Bondue
|
||||||
Sara Golemon
|
Sara Golemon
|
||||||
Satish Mittal
|
Satish Mittal
|
||||||
@@ -38,10 +64,16 @@ Sean Peterson
|
|||||||
Selcuk Gueney
|
Selcuk Gueney
|
||||||
Simon Hart
|
Simon Hart
|
||||||
Simon Josefsson
|
Simon Josefsson
|
||||||
|
Sofian Brabez
|
||||||
Steven Ayre
|
Steven Ayre
|
||||||
|
Steven Dake
|
||||||
Steven Van Ingelgem
|
Steven Van Ingelgem
|
||||||
|
TJ Saunders
|
||||||
|
Tommy Lindgren
|
||||||
Tor Arntsen
|
Tor Arntsen
|
||||||
Vincent Jaulin
|
Vincent Jaulin
|
||||||
|
Vincent Torri
|
||||||
Vlad Grachov
|
Vlad Grachov
|
||||||
Wez Furlong
|
Wez Furlong
|
||||||
Yang Tse
|
Yang Tse
|
||||||
|
Zl Liu
|
||||||
|
22
Makefile.am
22
Makefile.am
@@ -1,6 +1,9 @@
|
|||||||
AUTOMAKE_OPTIONS = foreign nostdinc
|
AUTOMAKE_OPTIONS = foreign nostdinc
|
||||||
|
|
||||||
SUBDIRS = src example tests docs
|
SUBDIRS = src tests docs
|
||||||
|
if BUILD_EXAMPLES
|
||||||
|
SUBDIRS += example
|
||||||
|
endif
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = libssh2.pc
|
pkgconfig_DATA = libssh2.pc
|
||||||
@@ -11,10 +14,9 @@ include_HEADERS = \
|
|||||||
include/libssh2_sftp.h
|
include/libssh2_sftp.h
|
||||||
|
|
||||||
NETWAREFILES = nw/keepscreen.c \
|
NETWAREFILES = nw/keepscreen.c \
|
||||||
nw/Makefile \
|
|
||||||
nw/Makefile.netware \
|
|
||||||
nw/nwlib.c \
|
nw/nwlib.c \
|
||||||
nw/test/Makefile.netware
|
nw/GNUmakefile \
|
||||||
|
nw/test/GNUmakefile
|
||||||
|
|
||||||
DSP = win32/libssh2.dsp
|
DSP = win32/libssh2.dsp
|
||||||
VCPROJ = win32/libssh2.vcproj
|
VCPROJ = win32/libssh2.vcproj
|
||||||
@@ -25,15 +27,13 @@ VMSFILES = vms/libssh2_make_example.dcl vms/libssh2_make_help.dcl \
|
|||||||
vms/libssh2_make_kit.dcl vms/libssh2_make_lib.dcl vms/man2help.c \
|
vms/libssh2_make_kit.dcl vms/libssh2_make_lib.dcl vms/man2help.c \
|
||||||
vms/readme.vms vms/libssh2_config.h
|
vms/readme.vms vms/libssh2_config.h
|
||||||
|
|
||||||
|
WIN32FILES = win32/GNUmakefile win32/test/GNUmakefile \
|
||||||
WIN32FILES = win32/Makefile.win32 win32/libssh2.dsw \
|
win32/libssh2_config.h win32/config.mk win32/rules.mk \
|
||||||
win32/config.mk win32/Makefile win32/test/Makefile.win32 \
|
win32/Makefile.Watcom win32/libssh2.dsw win32/tests.dsp $(DSP) \
|
||||||
win32/libssh2_config.h win32/tests.dsp win32/rules.mk $(DSP) \
|
win32/msvcproj.head win32/msvcproj.foot win32/libssh2.rc
|
||||||
win32/msvcproj.head win32/msvcproj.foot win32/libssh2.rc \
|
|
||||||
win32/Makefile.Watcom
|
|
||||||
|
|
||||||
EXTRA_DIST = $(WIN32FILES) buildconf $(NETWAREFILES) get_ver.awk HACKING \
|
EXTRA_DIST = $(WIN32FILES) buildconf $(NETWAREFILES) get_ver.awk HACKING \
|
||||||
maketgz NMakefile TODO RELEASE-NOTES libssh2.pc.in $(VMSFILES)
|
maketgz NMakefile TODO RELEASE-NOTES libssh2.pc.in $(VMSFILES) config.rpath
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
25
NMakefile
25
NMakefile
@@ -1,19 +1,28 @@
|
|||||||
!include "win32/config.mk"
|
!include "win32/config.mk"
|
||||||
|
|
||||||
|
!include "Makefile.inc"
|
||||||
|
|
||||||
|
OBJECTS=$(CSOURCES:.c=.obj)
|
||||||
|
|
||||||
# SUBDIRS=src example
|
# SUBDIRS=src example
|
||||||
SUBDIRS=src
|
SUBDIRS=src
|
||||||
|
|
||||||
all-sub:
|
all-sub: win32\objects.mk
|
||||||
-for %D in ($(SUBDIRS)) do $(MAKE) /nologo /f %D/NMakefile BUILD=$(BUILD) SUBDIR=%D all-sub
|
-for %D in ($(SUBDIRS)) do $(MAKE) /nologo /f %D/NMakefile BUILD=$(BUILD) SUBDIR=%D all-sub
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rmdir /s/q $(TARGET)
|
-rmdir 2>NUL /s/q $(TARGET)
|
||||||
|
|
||||||
real-clean: clean
|
real-clean vclean: clean
|
||||||
-del libssh2.dll
|
-del 2>NUL libssh2.dll
|
||||||
-del libssh2.exp
|
-del 2>NUL libssh2.exp
|
||||||
-del libssh2.ilk
|
-del 2>NUL libssh2.ilk
|
||||||
-del libssh2.lib
|
-del 2>NUL libssh2.lib
|
||||||
-del *.pdb
|
-del 2>NUL *.pdb
|
||||||
|
-del 2>NUL win32\objects.mk
|
||||||
|
|
||||||
|
win32\objects.mk: Makefile.inc
|
||||||
|
@echo OBJECTS = \>$@
|
||||||
|
@for %O in ($(OBJECTS)) do @echo $$(INTDIR)\%O \>>$@
|
||||||
|
@echo $$(EOL)>>$@
|
||||||
|
|
||||||
|
@@ -1,35 +1,28 @@
|
|||||||
libssh2 1.2.9
|
libssh2 1.4.3
|
||||||
|
|
||||||
This release includes the following changes:
|
This release includes the following changes:
|
||||||
|
|
||||||
o Added libssh2_session_set_timeout() and libssh2_session_get_timeout()
|
o compression: add support for zlib@openssh.com
|
||||||
to make blocking calls get a timeout
|
|
||||||
|
|
||||||
This release includes the following bugfixes:
|
This release includes the following bugfixes:
|
||||||
|
|
||||||
o configure and pkg-config: fix $VERSION
|
o sftp_read: return error if a too large package arrives
|
||||||
o s/\.NF/.nf/ to fix wrong macro name caught by man --warnings
|
o libssh2_hostkey_hash.3: update the description of return value
|
||||||
o keepalive: add first basic man pages
|
o Fixed MSVC NMakefile
|
||||||
o sftp_write: flush the packetlist on error
|
o examples: use stderr for messages, stdout for data
|
||||||
o sftp_write: clean offsets on error
|
o openssl: do not leak memory when handling errors
|
||||||
o msvcproj: added libs and debug stuff
|
o improved handling of disabled MD5 algorithm in OpenSSL
|
||||||
o SCP: fix incorrect error code
|
o known_hosts: Fail when parsing unknown keys in known_hosts file
|
||||||
o session_startup: init state properly
|
o configure: gcrypt doesn't come with pkg-config support
|
||||||
o sftp_write_sliding: send the complete file
|
o session_free: wrong variable used for keeping state
|
||||||
o userauth_keyboard_interactive: skip code on zero length auth
|
o libssh2_userauth_publickey_fromfile_ex.3: mention publickey == NULL
|
||||||
o _libssh2_wait_socket: fix timeouts for poll() uses
|
o comp_method_zlib_decomp: handle Z_BUF_ERROR when inflating
|
||||||
o agent_list_identities: fix out of scope access
|
|
||||||
o _libssh2_recv(): handle ENOENT error as EAGAIN
|
|
||||||
o userauth_keyboard_interactive: fix buffer overflow
|
|
||||||
o removed man pages for non-existing functions!
|
|
||||||
o gettimeofday: fix name space pollution
|
|
||||||
o _libssh2_channel_write: handle window_size == 0 better
|
|
||||||
|
|
||||||
This release would not have looked like this without help, code, reports and
|
This release would not have looked like this without help, code, reports and
|
||||||
advice from friends like these:
|
advice from friends like these:
|
||||||
|
|
||||||
Alfred Gebert, Dan Fandrich, Douglas Masterson, Guenter Knauf, Matt Lilley,
|
Guenter Knauf, Peter Stuge, TJ Saunders, Mike Abdullah, Maxime Larocque,
|
||||||
Mikhail Gusarov, Peter Stuge, zl liu, Paul Howarth, Mark Smith, Bill Segall,
|
Dmitry Smirnov, Dave Hayden, Peter Krempa, Kamil Dudka
|
||||||
Henrik Nordstr<74>m
|
|
||||||
|
|
||||||
Thanks! (and sorry if I forgot to mention someone)
|
Thanks! (and sorry if I forgot to mention someone)
|
||||||
|
|
||||||
|
11
TODO
11
TODO
@@ -8,12 +8,6 @@ Things TODO
|
|||||||
doesn't then use as much memory as today. Possibly by an app-controllable
|
doesn't then use as much memory as today. Possibly by an app-controllable
|
||||||
"Window mode"?
|
"Window mode"?
|
||||||
|
|
||||||
* Introduce a function that can free data that is returned allocated from the
|
|
||||||
lib, like when libssh2_session_last_error() is asked to return the string
|
|
||||||
with 'want_buf' set to non-zero.
|
|
||||||
|
|
||||||
* Add more info to the man pages.
|
|
||||||
|
|
||||||
* Decrease the number of mallocs. Everywhere. Will get easier once the
|
* Decrease the number of mallocs. Everywhere. Will get easier once the
|
||||||
buffering improvements have been done.
|
buffering improvements have been done.
|
||||||
|
|
||||||
@@ -26,10 +20,6 @@ Things TODO
|
|||||||
|
|
||||||
* Expose error messages sent by the server
|
* Expose error messages sent by the server
|
||||||
|
|
||||||
* Make SFTP transfers ask for and send several packages at once so that it
|
|
||||||
doesn't have to send-waitforack-send-waitforack as much. This will be
|
|
||||||
easier/smoother if we implement the "New SFTP API" described below.
|
|
||||||
|
|
||||||
* select() is troublesome with libssh2 when using multiple channels over
|
* select() is troublesome with libssh2 when using multiple channels over
|
||||||
the same session. See "New Transport API" below for more details.
|
the same session. See "New Transport API" below for more details.
|
||||||
|
|
||||||
@@ -51,6 +41,7 @@ At next SONAME bump
|
|||||||
libssh2_poll()
|
libssh2_poll()
|
||||||
libssh2_poll_channel_read()
|
libssh2_poll_channel_read()
|
||||||
libssh2_session_startup() (libssh2_session_handshake() is the replacement)
|
libssh2_session_startup() (libssh2_session_handshake() is the replacement)
|
||||||
|
libssh2_banner_set() (libssh2_session_banner_set() is the repacement)
|
||||||
|
|
||||||
* Rename a few function:
|
* Rename a few function:
|
||||||
|
|
||||||
|
26
configure.ac
26
configure.ac
@@ -32,7 +32,7 @@ AB_INIT
|
|||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-mingw*)
|
*-mingw*)
|
||||||
CFLAGS="$CFLAGS -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200"
|
CFLAGS="$CFLAGS -DLIBSSH2_WIN32"
|
||||||
LIBS="$LIBS -lws2_32"
|
LIBS="$LIBS -lws2_32"
|
||||||
;;
|
;;
|
||||||
*-cygwin)
|
*-cygwin)
|
||||||
@@ -96,13 +96,17 @@ AC_ARG_WITH(libz,
|
|||||||
# Look for OpenSSL (default)
|
# Look for OpenSSL (default)
|
||||||
if test "$use_openssl" != "no" && test "$use_libgcrypt" != "yes"; then
|
if test "$use_openssl" != "no" && test "$use_libgcrypt" != "yes"; then
|
||||||
AC_LIB_HAVE_LINKFLAGS([ssl], [crypto], [#include <openssl/ssl.h>])
|
AC_LIB_HAVE_LINKFLAGS([ssl], [crypto], [#include <openssl/ssl.h>])
|
||||||
|
LIBSREQUIRED=libssl,libcrypto
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Look for libgcrypt
|
# Look for libgcrypt
|
||||||
if test "$ac_cv_libssl" != "yes" && test "$use_libgcrypt" != "no"; then
|
if test "$ac_cv_libssl" != "yes" && test "$use_libgcrypt" != "no"; then
|
||||||
AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [#include <gcrypt.h>])
|
AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [#include <gcrypt.h>])
|
||||||
|
LIBS="$LIBS -lgcrypt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(LIBSREQUIRED)
|
||||||
|
|
||||||
if test "$ac_cv_libssl" != "yes" && test "$ac_cv_libgcrypt" != "yes"; then
|
if test "$ac_cv_libssl" != "yes" && test "$ac_cv_libgcrypt" != "yes"; then
|
||||||
AC_MSG_ERROR([cannot find OpenSSL or Libgcrypt,
|
AC_MSG_ERROR([cannot find OpenSSL or Libgcrypt,
|
||||||
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH])
|
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH])
|
||||||
@@ -215,12 +219,29 @@ AC_HELP_STRING([--disable-hidden-symbols],[Leave all symbols with default visibi
|
|||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Build example applications?
|
||||||
|
AC_MSG_CHECKING([whether to build example applications])
|
||||||
|
AC_ARG_ENABLE([examples-build],
|
||||||
|
AC_HELP_STRING([--enable-examples-build], [Build example applications (this is the default)])
|
||||||
|
AC_HELP_STRING([--disable-examples-build], [Do not build example applications]),
|
||||||
|
[case "$enableval" in
|
||||||
|
no | false)
|
||||||
|
build_examples='no'
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
build_examples='yes'
|
||||||
|
;;
|
||||||
|
esac], [build_examples='yes'])
|
||||||
|
AC_MSG_RESULT($build_examples)
|
||||||
|
AM_CONDITIONAL([BUILD_EXAMPLES], [test "x$build_examples" != "xno"])
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
# AC_HEADER_STDC
|
# AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS([errno.h fcntl.h stdio.h stdlib.h unistd.h sys/uio.h])
|
AC_CHECK_HEADERS([errno.h fcntl.h stdio.h stdlib.h unistd.h sys/uio.h])
|
||||||
AC_CHECK_HEADERS([sys/select.h sys/socket.h sys/ioctl.h sys/time.h])
|
AC_CHECK_HEADERS([sys/select.h sys/socket.h sys/ioctl.h sys/time.h])
|
||||||
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h])
|
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h])
|
||||||
AC_CHECK_HEADERS([sys/un.h])
|
AC_CHECK_HEADERS([sys/un.h], [have_sys_un_h=yes], [have_sys_un_h=no])
|
||||||
|
AM_CONDITIONAL([HAVE_SYS_UN_H], test "x$have_sys_un_h" = xyes)
|
||||||
|
|
||||||
case $host in
|
case $host in
|
||||||
*-*-cygwin* | *-*-cegcc*)
|
*-*-cygwin* | *-*-cegcc*)
|
||||||
@@ -299,6 +320,7 @@ AC_MSG_NOTICE([summary of build options:
|
|||||||
Library types: Shared=${enable_shared}, Static=${enable_static}
|
Library types: Shared=${enable_shared}, Static=${enable_static}
|
||||||
Crypto library: openssl: ${ac_cv_libssl:-no} (AES-CTR: ${ac_cv_func_EVP_aes_128_ctr:-N/A}) libgcrypt: ${ac_cv_libgcrypt:-no}
|
Crypto library: openssl: ${ac_cv_libssl:-no} (AES-CTR: ${ac_cv_func_EVP_aes_128_ctr:-N/A}) libgcrypt: ${ac_cv_libgcrypt:-no}
|
||||||
Debug build: $enable_debug
|
Debug build: $enable_debug
|
||||||
|
Build examples: $build_examples
|
||||||
Path to sshd: $ac_cv_path_SSHD (only for self-tests)
|
Path to sshd: $ac_cv_path_SSHD (only for self-tests)
|
||||||
libz compression: $ac_cv_libz
|
libz compression: $ac_cv_libz
|
||||||
])
|
])
|
||||||
|
29
docs/BINDINGS
Normal file
29
docs/BINDINGS
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
Creative people have written bindings or interfaces for various environments
|
||||||
|
and programming languages. Using one of these bindings allows you to take
|
||||||
|
advantage of libssh2 directly from within your favourite language.
|
||||||
|
|
||||||
|
The bindings listed below are not part of the libssh2 distribution archives,
|
||||||
|
but must be downloaded and installed separately.
|
||||||
|
|
||||||
|
Cocoa/Objective-C
|
||||||
|
https://github.com/karelia/libssh2_sftp-Cocoa-wrapper
|
||||||
|
|
||||||
|
Haskell
|
||||||
|
FFI bindings - http://hackage.haskell.org/package/libssh2
|
||||||
|
|
||||||
|
Perl
|
||||||
|
Net::SSH2 - http://search.cpan.org/~rkitover/Net-SSH2-0.45/lib/Net/SSH2.pm
|
||||||
|
|
||||||
|
PHP
|
||||||
|
ssh2 - http://pecl.php.net/package/ssh2
|
||||||
|
|
||||||
|
Python
|
||||||
|
pylibssh2 - http://www.wallix.org/pylibssh2-project/
|
||||||
|
|
||||||
|
Python-ctypes
|
||||||
|
|
||||||
|
PySsh2 - https://github.com/gellule/PySsh2
|
||||||
|
|
||||||
|
Ruby
|
||||||
|
libssh2-ruby - https://github.com/mitchellh/libssh2-ruby
|
@@ -1,6 +1,6 @@
|
|||||||
# $Id: Makefile.am,v 1.37 2009/03/26 15:41:15 bagder Exp $
|
# $Id: Makefile.am,v 1.37 2009/03/26 15:41:15 bagder Exp $
|
||||||
|
|
||||||
EXTRA_DIST = template.3
|
EXTRA_DIST = template.3 BINDINGS
|
||||||
|
|
||||||
dist_man_MANS = \
|
dist_man_MANS = \
|
||||||
libssh2_agent_connect.3 \
|
libssh2_agent_connect.3 \
|
||||||
@@ -92,6 +92,8 @@ dist_man_MANS = \
|
|||||||
libssh2_scp_send64.3 \
|
libssh2_scp_send64.3 \
|
||||||
libssh2_scp_send_ex.3 \
|
libssh2_scp_send_ex.3 \
|
||||||
libssh2_session_abstract.3 \
|
libssh2_session_abstract.3 \
|
||||||
|
libssh2_session_banner_get.3 \
|
||||||
|
libssh2_session_banner_set.3 \
|
||||||
libssh2_session_block_directions.3 \
|
libssh2_session_block_directions.3 \
|
||||||
libssh2_session_callback_set.3 \
|
libssh2_session_callback_set.3 \
|
||||||
libssh2_session_disconnect.3 \
|
libssh2_session_disconnect.3 \
|
||||||
@@ -110,6 +112,7 @@ dist_man_MANS = \
|
|||||||
libssh2_session_set_blocking.3 \
|
libssh2_session_set_blocking.3 \
|
||||||
libssh2_session_set_timeout.3 \
|
libssh2_session_set_timeout.3 \
|
||||||
libssh2_session_startup.3 \
|
libssh2_session_startup.3 \
|
||||||
|
libssh2_session_supported_algs.3 \
|
||||||
libssh2_sftp_close.3 \
|
libssh2_sftp_close.3 \
|
||||||
libssh2_sftp_close_handle.3 \
|
libssh2_sftp_close_handle.3 \
|
||||||
libssh2_sftp_closedir.3 \
|
libssh2_sftp_closedir.3 \
|
||||||
@@ -117,6 +120,7 @@ dist_man_MANS = \
|
|||||||
libssh2_sftp_fstat.3 \
|
libssh2_sftp_fstat.3 \
|
||||||
libssh2_sftp_fstat_ex.3 \
|
libssh2_sftp_fstat_ex.3 \
|
||||||
libssh2_sftp_fstatvfs.3 \
|
libssh2_sftp_fstatvfs.3 \
|
||||||
|
libssh2_sftp_get_channel.3 \
|
||||||
libssh2_sftp_init.3 \
|
libssh2_sftp_init.3 \
|
||||||
libssh2_sftp_last_error.3 \
|
libssh2_sftp_last_error.3 \
|
||||||
libssh2_sftp_lstat.3 \
|
libssh2_sftp_lstat.3 \
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_banner_set.3,v 1.3 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_banner_set 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_banner_set 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_banner_set - set the SSH prococol banner for the local client
|
libssh2_banner_set - set the SSH prococol banner for the local client
|
||||||
@@ -10,6 +8,9 @@ int
|
|||||||
libssh2_banner_set(LIBSSH2_SESSION *session, const char *banner);
|
libssh2_banner_set(LIBSSH2_SESSION *session, const char *banner);
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
This function is \fBDEPRECATED\fP. Use \fIlibssh2_session_banner_set(3)\fP
|
||||||
|
instead!
|
||||||
|
|
||||||
\fIsession\fP - Session instance as returned by
|
\fIsession\fP - Session instance as returned by
|
||||||
.BR libssh2_session_init_ex(3)
|
.BR libssh2_session_init_ex(3)
|
||||||
|
|
||||||
@@ -17,16 +18,15 @@ libssh2_banner_set(LIBSSH2_SESSION *session, const char *banner);
|
|||||||
|
|
||||||
Set the banner that will be sent to the remote host when the SSH session is
|
Set the banner that will be sent to the remote host when the SSH session is
|
||||||
started with
|
started with
|
||||||
.BR libssh2_session_startup(3)
|
.BR libssh2_session_handshake(3)
|
||||||
This is optional; a banner corresponding to the protocol and libssh2 version will be sent by default.
|
This is optional; a banner corresponding to the protocol and libssh2 version will be sent by default.
|
||||||
|
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
Return 0 on success or negative on failure. It returns
|
Return 0 on success or negative on failure. It returns
|
||||||
LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
|
LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
|
||||||
LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
|
LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
|
||||||
|
.SH AVAILABILITY
|
||||||
|
Marked as deprecated since 1.4.0
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
|
\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR libssh2_session_startup(3)
|
.BR libssh2_session_handshake(3)
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_base64_decode.3,v 1.3 2009/02/17 16:22:51 dottedmag Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_base64_decode 3 "23 Dec 2008" "libssh2 1.0" "libssh2 manual"
|
.TH libssh2_base64_decode 3 "23 Dec 2008" "libssh2 1.0" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_base64_decode - decode a base64 encoded string
|
libssh2_base64_decode - decode a base64 encoded string
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_close.3,v 1.3 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_close 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_close 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_close - close a channel
|
libssh2_channel_close - close a channel
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_direct_tcpip 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_direct_tcpip 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_direct_tcpip - convenience macro for \fIlibssh2_channel_direct_tcpip_ex(3)\fP calls
|
libssh2_channel_direct_tcpip - convenience macro for \fIlibssh2_channel_direct_tcpip_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_direct_tcpip_ex.3,v 1.2 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_direct_tcpip_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_direct_tcpip_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_direct_tcpip_ex - Tunnel a TCP connection through an SSH session
|
libssh2_channel_direct_tcpip_ex - Tunnel a TCP connection through an SSH session
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_eof.3,v 1.2 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_eof - check a channel's EOF status
|
libssh2_channel_eof - check a channel's EOF status
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_exec 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_exec 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_exec - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls
|
libssh2_channel_exec - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_flush 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_flush 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_flush - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls
|
libssh2_channel_flush - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_flush_ex.3,v 1.1 2007/06/13 19:53:09 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_flush_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_flush_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_flush_ex - flush a channel
|
libssh2_channel_flush_ex - flush a channel
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_flush_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_flush_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_flush_stderr - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls
|
libssh2_channel_flush_stderr - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_forward_accept.3,v 1.6 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_forward_accept 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_forward_accept 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_forward_accept - accept a queued connection
|
libssh2_channel_forward_accept - accept a queued connection
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_forward_cancel.3,v 1.2 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_forward_cancel 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_forward_cancel 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_forward_cancel - cancel a forwarded TCP port
|
libssh2_channel_forward_cancel - cancel a forwarded TCP port
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_forward_listen 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_forward_listen 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_forward_listen - convenience macro for \fIlibssh2_channel_forward_listen_ex(3)\fP calls
|
libssh2_channel_forward_listen - convenience macro for \fIlibssh2_channel_forward_listen_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_forward_listen_ex.3,v 1.7 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_forward_listen_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_forward_listen_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_forward_listen_ex - listen to inbound connections
|
libssh2_channel_forward_listen_ex - listen to inbound connections
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_free.3,v 1.1 2007/06/13 20:09:15 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_free - free all resources associated with a channel
|
libssh2_channel_free - free all resources associated with a channel
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id$
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_get_exit_signal 3 "4 Oct 2010" "libssh2 1.2.8" "libssh2 manual"
|
.TH libssh2_channel_get_exit_signal 3 "4 Oct 2010" "libssh2 1.2.8" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_get_exit_signal - get the remote exit signal
|
libssh2_channel_get_exit_signal - get the remote exit signal
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_get_exit_status.3,v 1.1 2007/06/15 10:53:04 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_get_exit_status 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_get_exit_status 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_get_exit_status - get the remote exit code
|
libssh2_channel_get_exit_status - get the remote exit code
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_handle_extended_data.3,v 1.2 2009/03/26 15:41:16 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_handle_extended_data 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_handle_extended_data 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_handle_extended_data - set extended data handling mode
|
libssh2_channel_handle_extended_data - set extended data handling mode
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_handle_extended_data2.3,v 1.1 2007/06/13 20:09:15 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_handle_extended_data2 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_handle_extended_data2 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_handle_extended_data2 - set extended data handling mode
|
libssh2_channel_handle_extended_data2 - set extended data handling mode
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_ignore_extended_data 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_ignore_extended_data 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_ignore_extended_data - convenience macro for \fIlibssh2_channel_handle_extended_data(3)\fP calls
|
libssh2_channel_ignore_extended_data - convenience macro for \fIlibssh2_channel_handle_extended_data(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_open_ex.3,v 1.2 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_open_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_open_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_open_ex - establish a generic session channel
|
libssh2_channel_open_ex - establish a generic session channel
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_open_session 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_open_session 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_open_session - convenience macro for \fIlibssh2_channel_open_ex(3)\fP calls
|
libssh2_channel_open_session - convenience macro for \fIlibssh2_channel_open_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_process_startup.3,v 1.2 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_process_startup 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_process_startup 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_process_startup - request a shell on a channel
|
libssh2_channel_process_startup - request a shell on a channel
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_read - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls
|
libssh2_channel_read - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_read_ex.3,v 1.10 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_read_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_read_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_read_ex - read data from a channel stream
|
libssh2_channel_read_ex - read data from a channel stream
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_read_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_read_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_read_stderr - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls
|
libssh2_channel_read_stderr - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_receive_window_adjust.3,v 1.3 2009/03/26 15:41:16 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_receive_window_adjust 3 "15 Mar 2009" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_receive_window_adjust 3 "15 Mar 2009" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_receive_window_adjust - adjust the channel window
|
libssh2_channel_receive_window_adjust - adjust the channel window
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_receive_window_adjust2.3,v 1.1 2009/03/26 15:41:16 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_receive_window_adjust2 3 "26 Mar 2009" "libssh2 1.1" "libssh2 manual"
|
.TH libssh2_channel_receive_window_adjust2 3 "26 Mar 2009" "libssh2 1.1" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_receive_window_adjust2 - adjust the channel window
|
libssh2_channel_receive_window_adjust2 - adjust the channel window
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_request_pty 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_request_pty 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_request_pty - convenience macro for \fIlibssh2_channel_request_pty_ex(3)\fP calls
|
libssh2_channel_request_pty - convenience macro for \fIlibssh2_channel_request_pty_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_request_pty_ex.3,v 1.2 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_request_pty_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_request_pty_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_request_pty_ex - short function description
|
libssh2_channel_request_pty_ex - short function description
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_request_pty_size 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_request_pty_size 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_request_pty_size - convenience macro for \fIlibssh2_channel_request_pty_size_ex(3)\fP calls
|
libssh2_channel_request_pty_size - convenience macro for \fIlibssh2_channel_request_pty_size_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_request_pty_size_ex.3,v 1.1 2009/03/16 15:00:45 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_request_pty_size_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_request_pty_size_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_request_pty_size_ex - TODO
|
libssh2_channel_request_pty_size_ex - TODO
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_send_eof.3,v 1.1 2007/06/13 21:07:59 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_send_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_send_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_send_eof - send EOF to remote server
|
libssh2_channel_send_eof - send EOF to remote server
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_set_blocking.3,v 1.6 2009/03/26 15:41:16 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_set_blocking - set or clear blocking mode on channel
|
libssh2_channel_set_blocking - set or clear blocking mode on channel
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_setenv 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_setenv 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_setenv - convenience macro for \fIlibssh2_channel_setenv_ex(3)\fP calls
|
libssh2_channel_setenv - convenience macro for \fIlibssh2_channel_setenv_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_setenv_ex.3,v 1.2 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_setenv_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_setenv_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_setenv_ex - set an environment variable on the channel
|
libssh2_channel_setenv_ex - set an environment variable on the channel
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_shell 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_shell 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_shell - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls
|
libssh2_channel_shell - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_subsystem 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_subsystem 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_subsystem - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls
|
libssh2_channel_subsystem - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_wait_closed.3,v 1.2 2007/11/29 10:04:16 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_wait_closed 3 "29 Nov 2007" "libssh2 0.19" "libssh2 manual"
|
.TH libssh2_channel_wait_closed 3 "29 Nov 2007" "libssh2 0.19" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_wait_closed - wait for the remote to close the channel
|
libssh2_channel_wait_closed - wait for the remote to close the channel
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_wait_eof.3,v 1.5 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_wait_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_wait_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_wait_eof - wait for the remote to reply to an EOF request
|
libssh2_channel_wait_eof - wait for the remote to reply to an EOF request
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_window_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_window_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_window_read - convenience macro for \fIlibssh2_channel_window_read_ex(3)\fP calls
|
libssh2_channel_window_read - convenience macro for \fIlibssh2_channel_window_read_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_window_read_ex.3,v 1.2 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_window_read_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_window_read_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_window_read_ex - Check the status of the read window
|
libssh2_channel_window_read_ex - Check the status of the read window
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_window_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_window_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_window_write - convenience macro for \fIlibssh2_channel_window_write_ex(3)\fP calls
|
libssh2_channel_window_write - convenience macro for \fIlibssh2_channel_window_write_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_window_write_ex.3,v 1.2 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_window_write_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_window_write_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_window_write_ex - Check the status of the write window
|
libssh2_channel_window_write_ex - Check the status of the write window
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_write - convenience macro for \fIlibssh2_channel_write_ex(3)\fP
|
libssh2_channel_write - convenience macro for \fIlibssh2_channel_write_ex(3)\fP
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_write_ex.3,v 1.6 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_write_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_write_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_write_ex - write data to a channel stream blocking
|
libssh2_channel_write_ex - write data to a channel stream blocking
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_write_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_write_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_write_stderr - convenience macro for \fIlibssh2_channel_write_ex(3)\fP
|
libssh2_channel_write_stderr - convenience macro for \fIlibssh2_channel_write_ex(3)\fP
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_x11_req 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_channel_x11_req 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_x11_req - convenience macro for \fIlibssh2_channel_x11_req_ex(3)\fP calls
|
libssh2_channel_x11_req - convenience macro for \fIlibssh2_channel_x11_req_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_channel_x11_req_ex.3,v 1.2 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_channel_x11_req_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_channel_x11_req_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_channel_x11_req_ex - request an X11 forwarding channel
|
libssh2_channel_x11_req_ex - request an X11 forwarding channel
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_hostkey_hash.3,v 1.2 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_hostkey_hash 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_hostkey_hash 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_hostkey_hash - return a hash of the remote host's key
|
libssh2_hostkey_hash - return a hash of the remote host's key
|
||||||
@@ -20,8 +18,9 @@ Returns the computed digest of the remote system's hostkey. The length of
|
|||||||
the returned string is hash_type specific (e.g. 16 bytes for MD5,
|
the returned string is hash_type specific (e.g. 16 bytes for MD5,
|
||||||
20 bytes for SHA1).
|
20 bytes for SHA1).
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
Computed hostkey hash value. or NULL if the session has not yet been started
|
Computed hostkey hash value, or NULL if the information is not available
|
||||||
up. (The hash consists of raw binary bytes, not hex digits, so is not
|
(either the session has not yet been started up, or the requested hash
|
||||||
directly printable.)
|
algorithm was not available). The hash consists of raw binary bytes, not hex
|
||||||
|
digits, so it is not directly printable.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR libssh2_session_init_ex(3)
|
.BR libssh2_session_init_ex(3)
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: keepalive_send.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_keepalive_send 3 "13 Apr 2011" "libssh2 1.2.5" "libssh2 manual"
|
.TH libssh2_keepalive_send 3 "13 Apr 2011" "libssh2 1.2.5" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_keepalive_send - short function description
|
libssh2_keepalive_send - short function description
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_poll.3,v 1.4 2009/04/14 21:38:36 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_poll 3 "14 Dec 2006" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_poll 3 "14 Dec 2006" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_poll - poll for activity on a socket, channel or listener
|
libssh2_poll - poll for activity on a socket, channel or listener
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_poll_channel_read.3,v 1.3 2009/04/14 21:38:36 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_poll_channel_read 3 "14 Dec 2006" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_poll_channel_read 3 "14 Dec 2006" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_poll_channel_read - check if data is available
|
libssh2_poll_channel_read - check if data is available
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_publickey_add 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_publickey_add 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_publickey_add - convenience macro for \fIlibssh2_publickey_add_ex(3)\fP calls
|
libssh2_publickey_add - convenience macro for \fIlibssh2_publickey_add_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_publickey_add_ex.3,v 1.1 2009/03/16 15:00:45 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_publickey_add_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_publickey_add_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_publickey_add_ex - Add a public key entry
|
libssh2_publickey_add_ex - Add a public key entry
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_publickey_init.3,v 1.1 2009/03/16 15:00:45 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_publickey_init 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_publickey_init 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_publickey_init - TODO
|
libssh2_publickey_init - TODO
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_publickey_list_fetch.3,v 1.1 2009/03/16 15:00:45 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_publickey_list_fetch 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_publickey_list_fetch 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_publickey_list_fetch - TODO
|
libssh2_publickey_list_fetch - TODO
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_publickey_list_free.3,v 1.1 2009/03/16 15:00:45 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_publickey_list_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_publickey_list_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_publickey_list_free - TODO
|
libssh2_publickey_list_free - TODO
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_publickey_remove 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_publickey_remove 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_publickey_remove - convenience macro for \fIlibssh2_publickey_remove_ex(3)\fP calls
|
libssh2_publickey_remove - convenience macro for \fIlibssh2_publickey_remove_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_publickey_remove_ex.3,v 1.1 2009/03/16 15:00:45 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_publickey_list_remove_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_publickey_list_remove_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_publickey_list_remove_ex - TODO
|
libssh2_publickey_list_remove_ex - TODO
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_publickey_shutdown.3,v 1.1 2009/03/16 15:00:45 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_publickey_shutdown 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_publickey_shutdown 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_publickey_shutdown - TODO
|
libssh2_publickey_shutdown - TODO
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_scp_recv.3,v 1.3 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_scp_recv 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_scp_recv 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_scp_recv - request a remote file via SCP
|
libssh2_scp_recv - request a remote file via SCP
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_scp_send 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_scp_send 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_scp_send - convenience macro for \fIlibssh2_scp_send_ex(3)\fP calls
|
libssh2_scp_send - convenience macro for \fIlibssh2_scp_send_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_scp_send_ex.3,v 1.3 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_scp_send64 3 "17 Apr 2010" "libssh2 1.2.6" "libssh2 manual"
|
.TH libssh2_scp_send64 3 "17 Apr 2010" "libssh2 1.2.6" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_scp_send64 - Send a file via SCP
|
libssh2_scp_send64 - Send a file via SCP
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_scp_send_ex.3,v 1.3 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_scp_send_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_scp_send_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_scp_send_ex - Send a file via SCP
|
libssh2_scp_send_ex - Send a file via SCP
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_abstract.3,v 1.2 2008/07/03 10:58:53 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_abstract 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_abstract 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_abstract - return a pointer to a session's abstract pointer
|
libssh2_session_abstract - return a pointer to a session's abstract pointer
|
||||||
|
21
docs/libssh2_session_banner_get.3
Normal file
21
docs/libssh2_session_banner_get.3
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
.TH libssh2_session_banner_get 3 "9 Sep 2011" "libssh2 1.4.0" "libssh2 manual"
|
||||||
|
.SH NAME
|
||||||
|
libssh2_session_banner_get - get the remote banner
|
||||||
|
.SH SYNOPSIS
|
||||||
|
#include <libssh2.h>
|
||||||
|
|
||||||
|
const char *libssh2_session_banner_get(oLIBSSH2_SESSION *session);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
Once the session has been setup and \fIlibssh2_session_handshake(3)\fP has
|
||||||
|
completed successfully, this function can be used to get the server id from
|
||||||
|
the banner each server presents.
|
||||||
|
.SH RETURN VALUE
|
||||||
|
A pointer to a string or NULL if something failed. The data pointed to will be
|
||||||
|
allocated and associated to the session handle and will be freed by libssh2
|
||||||
|
when \fIlibssh2_session_free(3)\fP is used.
|
||||||
|
.SH AVAILABILITY
|
||||||
|
Added in 1.4.0
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR libssh2_session_banner_set(3),
|
||||||
|
.BR libssh2_session_handshake(3),
|
||||||
|
.BR libssh2_session_free(3)
|
32
docs/libssh2_session_banner_set.3
Normal file
32
docs/libssh2_session_banner_set.3
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
.TH libssh2_session_banner_set 3 "9 Sep 2011" "libssh2 1.4.0" "libssh2 manual"
|
||||||
|
.SH NAME
|
||||||
|
libssh2_session_banner_set - set the SSH prococol banner for the local client
|
||||||
|
.SH SYNOPSIS
|
||||||
|
#include <libssh2.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
libssh2_session_banner_set(LIBSSH2_SESSION *session, const char *banner);
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fIsession\fP - Session instance as returned by
|
||||||
|
.BR libssh2_session_init_ex(3)
|
||||||
|
|
||||||
|
\fIbanner\fP - A pointer to a zero-terminated string holding the user defined
|
||||||
|
banner
|
||||||
|
|
||||||
|
Set the banner that will be sent to the remote host when the SSH session is
|
||||||
|
started with \fIlibssh2_session_handshake(3)\fP This is optional; a banner
|
||||||
|
corresponding to the protocol and libssh2 version will be sent by default.
|
||||||
|
.SH RETURN VALUE
|
||||||
|
Returns 0 on success or negative on failure. It returns LIBSSH2_ERROR_EAGAIN
|
||||||
|
when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a negative
|
||||||
|
number, it isn't really a failure per se.
|
||||||
|
.SH ERRORS
|
||||||
|
\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
|
||||||
|
.SH AVAILABILITY
|
||||||
|
Added in 1.4.0.
|
||||||
|
|
||||||
|
Before 1.4.0 this function was known as libssh2_banner_set(3)
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR libssh2_session_handshake(3),
|
||||||
|
.BR libssh2_session_banner_get(3)
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_block_directions.3,v 1.3 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_block_directions 3 "1 Oct 2008" "libssh2 1.0" "libssh2 manual"
|
.TH libssh2_session_block_directions 3 "1 Oct 2008" "libssh2 1.0" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_block_directions - get directions to wait for
|
libssh2_session_block_directions - get directions to wait for
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_callback_set.3,v 1.2 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_callback_set 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_callback_set 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_callback_set - set a callback function
|
libssh2_session_callback_set - set a callback function
|
||||||
@@ -33,6 +31,12 @@ Called when a mismatched MAC has been detected in the transport layer. If the
|
|||||||
function returns 0, the packet will be accepted nonetheless.
|
function returns 0, the packet will be accepted nonetheless.
|
||||||
.IP LIBSSH2_CALLBACK_X11
|
.IP LIBSSH2_CALLBACK_X11
|
||||||
Called when an X11 connection has been accepted
|
Called when an X11 connection has been accepted
|
||||||
|
.IP LIBSSH2_CALLBACK_SEND
|
||||||
|
Called when libssh2 wants to send some data on the connection.
|
||||||
|
Can be set to a custom function to handle I/O your own way.
|
||||||
|
.IP LIBSSH2_CALLBACK_RECV
|
||||||
|
Called when libssh2 wants to receive some data from the connection.
|
||||||
|
Can be set to a custom function to handle I/O your own way.
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
Pointer to previous callback handler. Returns NULL if no prior callback
|
Pointer to previous callback handler. Returns NULL if no prior callback
|
||||||
handler was set or the callback type was unknown.
|
handler was set or the callback type was unknown.
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_disconnect 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_session_disconnect 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_disconnect - convenience macro for \fIlibssh2_session_disconnect_ex(3)\fP calls
|
libssh2_session_disconnect - convenience macro for \fIlibssh2_session_disconnect_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_disconnect_ex.3,v 1.5 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_disconnect_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_disconnect_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_disconnect_ex - terminate transport layer
|
libssh2_session_disconnect_ex - terminate transport layer
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_flag.3,v 1.2 2009/03/23 13:17:49 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_flag 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_flag 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_flag - TODO
|
libssh2_session_flag - TODO
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_free.3,v 1.5 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_free - frees resources associated with a session instance
|
libssh2_session_free - frees resources associated with a session instance
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_get_blocking.3,v 1.2 2009/03/23 13:20:48 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_get_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_get_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_get_blocking - TODO
|
libssh2_session_get_blocking - TODO
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_handshake.3,v 1.7 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_handshake 3 "7 Oct 2010" "libssh2 1.2.8" "libssh2 manual"
|
.TH libssh2_session_handshake 3 "7 Oct 2010" "libssh2 1.2.8" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_handshake - perform the SSH handshake
|
libssh2_session_handshake - perform the SSH handshake
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: session_hostkey.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_hostkey 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_hostkey 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_hostkey - get the remote key
|
libssh2_session_hostkey - get the remote key
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_init 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_session_init 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_init - convenience macro for \fIlibssh2_session_init_ex(3)\fP calls
|
libssh2_session_init - convenience macro for \fIlibssh2_session_init_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_init_ex.3,v 1.1 2009/03/16 14:40:37 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_init_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_init_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_init_ex - initializes an SSH session object
|
libssh2_session_init_ex - initializes an SSH session object
|
||||||
@@ -41,4 +39,4 @@ starting up an SSH session with a remote server.
|
|||||||
Pointer to a newly allocated LIBSSH2_SESSION instance, or NULL on errors.
|
Pointer to a newly allocated LIBSSH2_SESSION instance, or NULL on errors.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR libssh2_session_free(3)
|
.BR libssh2_session_free(3)
|
||||||
.BR libssh2_session_startup(3)
|
.BR libssh2_session_handshake(3)
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_last_errno.3,v 1.2 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_last_errno 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_last_errno 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_last_errno - get the most recent error number
|
libssh2_session_last_errno - get the most recent error number
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_last_error.3,v 1.2 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_last_error 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_last_error 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_last_error - get the most recent error
|
libssh2_session_last_error - get the most recent error
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_method_pref.3,v 1.2 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_method_pref 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_method_pref 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_method_pref - set preferred key exchange method
|
libssh2_session_method_pref - set preferred key exchange method
|
||||||
@@ -22,7 +20,7 @@ ignored and not sent to the remote host during protocol negotiation.
|
|||||||
|
|
||||||
Set preferred methods to be negotiated. These
|
Set preferred methods to be negotiated. These
|
||||||
preferrences must be set prior to calling
|
preferrences must be set prior to calling
|
||||||
.BR libssh2_session_startup(3)
|
.BR libssh2_session_handshake(3)
|
||||||
as they are used during the protocol initiation phase.
|
as they are used during the protocol initiation phase.
|
||||||
|
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
@@ -39,4 +37,4 @@ LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
|
|||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR libssh2_session_init_ex(3)
|
.BR libssh2_session_init_ex(3)
|
||||||
.BR libssh2_session_startup(3)
|
.BR libssh2_session_handshake(3)
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_methods.3,v 1.2 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_methods 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_methods 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_methods - return the currently active algorithms
|
libssh2_session_methods - return the currently active algorithms
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_set_blocking.3,v 1.3 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_set_blocking - set or clear blocking mode on session
|
libssh2_session_set_blocking - set or clear blocking mode on session
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_session_startup.3,v 1.7 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_session_startup 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_session_startup 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_session_startup - begin transport layer
|
libssh2_session_startup - begin transport layer
|
||||||
|
74
docs/libssh2_session_supported_algs.3
Normal file
74
docs/libssh2_session_supported_algs.3
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
.TH libssh2_session_supported_algs 3 "23 Oct 2011" "libssh2 1.4.0" "libssh2 manual"
|
||||||
|
.SH NAME
|
||||||
|
libssh2_session_supported_algs - get list of supported algorithms
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
|
#include <libssh2.h>
|
||||||
|
|
||||||
|
int libssh2_session_supported_algs(LIBSSH2_SESSION* session,
|
||||||
|
int method_type,
|
||||||
|
const char*** algs);
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fIsession\fP - An instance of initialized LIBSSH2_SESSION (the function will
|
||||||
|
use its pointer to the memory allocation function). \fImethod_type\fP - Method
|
||||||
|
type. See .BR \fIlibssh2_session_method_pref(3)\fP. \fIalgs\fP - Address of a
|
||||||
|
pointer that will point to an array af returned algorithms
|
||||||
|
|
||||||
|
Get a list of supported algorithms for the given \fImethod_type\fP. The
|
||||||
|
method_type parameter is equivalent to method_type in
|
||||||
|
\fIlibssh2_session_method_pref(3)\fP. If successful, the function will
|
||||||
|
allocate the appropriate amount of memory. When not needed anymore, it must be
|
||||||
|
deallocated by calling \fIlibssh2_free(3)\fP. When this function is
|
||||||
|
unsuccessful, this must not be done.
|
||||||
|
|
||||||
|
In order to get a list of all supported compression algorithms,
|
||||||
|
libssh2_session_flag(session, LIBSSH2_FLAG_COMPRESS, 1) must be called before
|
||||||
|
calling this function, otherwise only "none" will be returned.
|
||||||
|
|
||||||
|
If successful, the function will allocate and fill the array with supported
|
||||||
|
algorithms (the same names as defined in RFC 4253). The array is not NULL
|
||||||
|
terminated.
|
||||||
|
.SH EXAMPLE
|
||||||
|
.nf
|
||||||
|
#include "libssh2.h"
|
||||||
|
|
||||||
|
const char **algorithms;
|
||||||
|
int rc, i;
|
||||||
|
LIBSSH2_SESSION *session;
|
||||||
|
|
||||||
|
/* initilize session */
|
||||||
|
session = libssh2_session_init();
|
||||||
|
rc = libssh2_session_supported_algs(session,
|
||||||
|
LIBSSH2_METHOD_CRYPT_CS,
|
||||||
|
&algorithms);
|
||||||
|
if (rc>0) {
|
||||||
|
/* the call succeeded, do sth. with the list of algorithms
|
||||||
|
(e.g. list them)... */
|
||||||
|
printf("Supported symmetric algorithms:\n");
|
||||||
|
for ( i=0; i<rc; i++ )
|
||||||
|
printf("\t%s\n", algorithms[i]);
|
||||||
|
|
||||||
|
/* ... and free the allocated memory when not needed anymore */
|
||||||
|
libssh2_free(session, algorithms);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
/* call failed, error handling */
|
||||||
|
}
|
||||||
|
.SH RETURN VALUE
|
||||||
|
On success, a number of returned algorithms (i.e a positive number will be
|
||||||
|
returned). In case of a failure, an error code (a negative number, see below)
|
||||||
|
is returned. 0 should never be returned.
|
||||||
|
.SH ERRORS
|
||||||
|
\fILIBSSH2_ERROR_BAD_USE\fP - Invalid address of algs.
|
||||||
|
|
||||||
|
\fILIBSSH2_ERROR_METHOD_NOT_SUPPORTED\fP - Unknown method type.
|
||||||
|
|
||||||
|
\fILIBSSH2_ERROR_INVAL\fP - Internal error (normally should not occur).
|
||||||
|
|
||||||
|
\fILIBSSH2_ERROR_ALLOC\fP - Allocation of memory failed.
|
||||||
|
.SH AVAILABILITY
|
||||||
|
Added in 1.4.0
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR libssh2_session_methods(3),
|
||||||
|
.BR libssh2_session_method_pref(3)
|
||||||
|
.BR libssh2_free(3)
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_sftp_close 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_sftp_close 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_sftp_close - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls
|
libssh2_sftp_close - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_sftp_close_handle.3,v 1.3 2009/03/17 10:34:27 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_sftp_close_handle 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_sftp_close_handle 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_sftp_close_handle - close filehandle
|
libssh2_sftp_close_handle - close filehandle
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_sftp_closedir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_sftp_closedir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_sftp_closedir - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls
|
libssh2_sftp_closedir - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_sftp_fsetstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_sftp_fsetstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_sftp_fsetstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls
|
libssh2_sftp_fsetstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: template.3,v 1.4 2007/06/13 16:41:33 jehousley Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_sftp_fstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
.TH libssh2_sftp_fstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_sftp_fstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls
|
libssh2_sftp_fstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.\" $Id: libssh2_sftp_fstat_ex.3,v 1.2 2009/03/16 23:25:14 bagder Exp $
|
|
||||||
.\"
|
|
||||||
.TH libssh2_sftp_fstat_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
.TH libssh2_sftp_fstat_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libssh2_sftp_fstat_ex - get or set attributes on an SFTP file handle
|
libssh2_sftp_fstat_ex - get or set attributes on an SFTP file handle
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user