Skip to content
Perl binding for libssh C library
Perl XS C
Branch: master
Clone or download
Latest commit 4182579 Oct 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contrib add rpm 0.7 Oct 9, 2019
examples Improve execute_parallel_servers example to reuse existing code Oct 8, 2019
lib/Libssh prepare 0.7 version Oct 9, 2019
Changes prepare 0.7 version Oct 9, 2019
LICENSE Initial commit Dec 27, 2015
Makefile.PL + initial commit Dec 27, 2015
README update help Sep 9, 2019
README.md update help Sep 9, 2019
TODO prepare 0.7 version Oct 9, 2019
channel.h revert Jul 12, 2017
libssh.xs Export explicit use of non-blocking sessions Oct 3, 2019
ppport.h + initial commit Dec 27, 2015
typemap prepare version Aug 31, 2017

README.md

Libssh::Session - Secure Shell protocol interface

Libssh::Session is a perl interface to the libssh library : https://www.libssh.org/ It supports the authentification on a SSH server, command execution and some sftp capabilities.

It's still in working progress (but it's functional ;)

MODULE DEPENDENCIES

To install Libssh::Session, you need following perl module:

  • ExtUtils-MakeMaker

For the module execution, no need of perl module dependencies.

DEPENDENCIES

This module also requires these libraries:

  • libssh (recommended to use version 0.7.0 or later)
  • OpenSSL

INSTALLATION

To compile libssh dependency on centos 6:

# mkdir build
# cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DLIB_SUFFIX=64 -DLIB_INSTALL_DIR=/usr/lib64 ..
# make
# make install

To install Libssh::Session type the following:

# perl Makefile.PL
# make
# make install

INFORMATION

By default, the OpenSSH daemon authorize 10 sessions in parrallel for one connection. You can increase that number with option MaxSessions.

BUGS/FEATURE REQUESTS

Please report bugs and request features on the github : https://github.com/garnier-quentin/perl-libssh

All helps are welcomed!

You can’t perform that action at this time.