Skip to content
Perl binding for libssh C library
Perl XS C
Branch: master
Clone or download
Latest commit 4182579 Oct 9, 2019
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 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

Libssh::Session - Secure Shell protocol interface

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

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


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

  • ExtUtils-MakeMaker

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


This module also requires these libraries:

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


To compile libssh dependency on centos 6:

# mkdir build
# make
# make install

To install Libssh::Session type the following:

# perl Makefile.PL
# make
# make install


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


Please report bugs and request features on the github :

All helps are welcomed!

You can’t perform that action at this time.