BSD Ports

net/p5-Net-SSH2 0.74 MidnightBSD

Support for the SSH 2 protocol via libSSH2

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
net, perl5

Description

Net::SSH2 is a perl interface to the libssh2 (http://www.libssh2.org) library. It supports the SSH2 protocol (there is no support for SSH1) with all of the key exchanges, ciphers, and compression of libssh2.

Unless otherwise indicated, methods return a true value on success and false on failure; use the error method to get extended error information.

The typical order is to create the SSH2 object, set up the connection methods you want to use, call connect, authenticate with one of the auth methods, then create channels on the connection to perform commands.

In the other systems

SystemPortVersion
MidnightBSDnet/p5-Net-SSH20.74
FreeBSDnet/p5-Net-SSH20.74
OpenBSDnet/p5-Net-SSH20.74
NetBSDsecurity/p5-Net-SSH20.73nb5
DragonFlynet/p5-Net-SSH20.74
HardenedBSDnet/p5-Net-SSH20.74
GhostBSDnet/p5-Net-SSH20.74

Install

Binary package:

mport install p5-Net-SSH2

From mports:

cd /usr/mports/net/p5-Net-SSH2 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Net-SSH2>0:net/p5-Net-SSH2

Dependencies

As this port's Makefile names them.

Library 1

Build dependencies 1
Run dependencies 1

Configuration

Options name: net_Net-SSH2

OptionDefaultDescription
EXAMPLESoff
USES
compiler:c11 localbase perl5
Service scripts
none

Files

pkg-plist 23
  • %%SITE_ARCH%%/Net/SSH2.pm
  • %%SITE_ARCH%%/Net/SSH2/Channel.pm
  • %%SITE_ARCH%%/Net/SSH2/Constants.pm
  • %%SITE_ARCH%%/Net/SSH2/Dir.pm
  • %%SITE_ARCH%%/Net/SSH2/File.pm
  • %%SITE_ARCH%%/Net/SSH2/KnownHosts.pm
  • %%SITE_ARCH%%/Net/SSH2/Listener.pm
  • %%SITE_ARCH%%/Net/SSH2/PublicKey.pm
  • %%SITE_ARCH%%/Net/SSH2/SFTP.pm
  • %%SITE_ARCH%%/auto/Net/SSH2/SSH2.so
  • %%PERL5_MAN3%%/Net::SSH2.3.gz
  • %%PERL5_MAN3%%/Net::SSH2::Channel.3.gz
  • %%PERL5_MAN3%%/Net::SSH2::Dir.3.gz
  • %%PERL5_MAN3%%/Net::SSH2::File.3.gz
  • %%PERL5_MAN3%%/Net::SSH2::KnownHosts.3.gz
  • %%PERL5_MAN3%%/Net::SSH2::Listener.3.gz
  • %%PERL5_MAN3%%/Net::SSH2::PublicKey.3.gz
  • %%PERL5_MAN3%%/Net::SSH2::SFTP.3.gz
  • share/examples/p5-Net-SSH2/benchmark.pl
  • share/examples/p5-Net-SSH2/read.pl
  • share/examples/p5-Net-SSH2/rt58911.pl
  • share/examples/p5-Net-SSH2/rt80011.pl
  • share/examples/p5-Net-SSH2/scat.pl
distinfo 1
FileSizeSHA256
Net-SSH2-0.74.tar.gz1463541c124699745eeb40ed636097fdcc3e722c94cfd7704ebc0acfb0f05541d2809c
Master sites 1
  • CPAN