BSD Ports

security/libssh 0.12.2 FreeBSD

Library implementing the SSH2 protocol

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
c638f88329
License
LGPL21
Categories
security, devel
Package size
437.5 KiB, 2144.7 KiB installed

Description

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from OpenSSL).

libssh features:

  • Full C library functions for manipulating a client-side SSH connection
  • SSH2 protocol compliant
  • Fully configurable sessions
  • Server support, SSH agent authentication support
  • Support for AES-128, AES-192, AES-256, Blowfish, 3DES in CBC mode
  • Use multiple SSH connections in a same process, at same time
  • Use multiple channels in the same connection
  • Thread safety when using different sessions at same time
  • POSIX-like SFTP implementation with openssh extension support
  • SCP implementation
  • RSA and DSS server public key supported
  • Compression support (with zlib)
  • Public key (RSA and DSS), password and keyboard-interactive authentication

In the other systems

SystemPortVersion
FreeBSDsecurity/libssh0.12.2
OpenBSDsecurity/libssh0.12.2
NetBSDsecurity/libssh0.12.2
DragonFlysecurity/libssh0.11.2
MidnightBSDsecurity/libssh0.10.6

Install

Binary package:

pkg install libssh

From the ports tree:

cd /usr/ports/security/libssh/ && make install clean

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

RUN_DEPENDS=	libssh>0:security/libssh
LIB_DEPENDS=	libssh.so:security/libssh

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.12.20.12.20.10.40.11.20.12.2
FreeBSD:14:quarterly0.12.20.12.2n/a0.11.20.12.2
FreeBSD:15:latest0.12.20.12.2n/a0.11.20.11.2
FreeBSD:15:quarterly0.12.20.12.2n/an/an/a
FreeBSD:16:latest0.12.20.12.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 15

Configuration

Options name: security_libssh

OptionDefaultDescription
GSSAPI_BASEonGSSAPI support via base system (needs Kerberos)
GSSAPI_HEIMDALoffGSSAPI support via security/heimdal
GSSAPI_MIToffGSSAPI support via security/krb5
GSSAPI_NONEoffDisable GSSAPI support
OPENSSLonSSL/TLS support via OpenSSL
STATIConBuild static executables and/or libraries
USES
cmake:testing cpe tar:xz
Service scripts
none

Files

pkg-plist 17
  • include/libssh/callbacks.h
  • include/libssh/legacy.h
  • include/libssh/libssh.h
  • include/libssh/libssh_version.h
  • include/libssh/libsshpp.hpp
  • include/libssh/server.h
  • include/libssh/sftp.h
  • include/libssh/sftpserver.h
  • include/libssh/ssh2.h
  • lib/cmake/libssh/libssh-config-.cmake
  • lib/cmake/libssh/libssh-config-version.cmake
  • lib/cmake/libssh/libssh-config.cmake
  • lib/libssh.a
  • lib/libssh.so
  • lib/libssh.so.4
  • lib/libssh.so.4.12.0
  • libdata/pkgconfig/libssh.pc
distinfo 1
FileSizeSHA256
libssh-0.12.2.tar.xz75968049560f677d96e3706a904ac2de1116e25f3680937d51e5c92198fcba4a1c1e9f
Master sites 2
  • https://www.libssh.org/files/${PORTVERSION:R}/
  • LOCAL/sunpoet

Commit history 2

DateCommitCreditsLog message
c638f88329 Po-Chuan Hsieh security/libssh: Update to 0.12.2
Changes: https://git.libssh.org/projects/libssh.git/tree/CHANGELOG Security: CVE-2026-15370, CVE-2026-59842, CVE-2026-59843, CVE-2026-59844, CVE-2026-59845, CVE-2026-59846, CVE-2026-59847, CVE-2026-59848, CVE-2026-59849, CVE-2026-59850, CVE-2026-59851
e79dab0f0a Po-Chuan Hsieh security/libssh: Fix CMAKE options
CMAKE_DISABLE_FIND_PACKAGE_Doxygen should be ON.