notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q2
libssh Library implementing the SSH2 protocol
0.11.2 security on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.11.2Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-06-29 16:15:07
Last Update: 2025-06-29 16:12:48
Commit Hash: 8a475be5
Also Listed In: devel
License: LGPL21
WWW:
https://www.libssh.org/
https://gitlab.com/libssh/libssh-mirror
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
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (24 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libssh-0.11.2/catalog.mk
  3. /usr/local/share/licenses/libssh-0.11.2/LICENSE
  4. /usr/local/share/licenses/libssh-0.11.2/LGPL21
  5. include/libssh/callbacks.h
  6. include/libssh/legacy.h
  7. include/libssh/libssh.h
  8. include/libssh/libssh_version.h
  9. include/libssh/libsshpp.hpp
  10. include/libssh/server.h
  11. include/libssh/sftp.h
  12. include/libssh/sftpserver.h
  13. include/libssh/ssh2.h
  14. lib/cmake/libssh/libssh-config-release.cmake
  15. lib/cmake/libssh/libssh-config-version.cmake
  16. lib/cmake/libssh/libssh-config.cmake
  17. lib/libssh.a
  18. lib/libssh.so
  19. lib/libssh.so.4
  20. lib/libssh.so.4.10.2
  21. libdata/pkgconfig/libssh.pc
  22. @owner
  23. @group
  24. @mode
Collapse this list.
Dependency lines:
  • libssh>0:security/libssh
To install the port:
cd /usr/ports/security/libssh/ && make install clean
To add the package, run one of these commands:
  • pkg install security/libssh
  • pkg install libssh
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libssh
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1750954132 SHA256 (libssh-0.11.2.tar.xz) = 69529fc18f5b601f0baf0e5a4501a2bc26df5e2f116f5f8f07f19fafaa6d04e7 SIZE (libssh-0.11.2.tar.xz) = 619428

Packages (timestamps in pop-ups are UTC):
libssh
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.11.10.11.10.9.50.11.10.11.1-0.9.5-
FreeBSD:13:quarterly0.11.10.11.10.10.50.11.10.11.10.10.60.10.60.10.6
FreeBSD:14:latest0.11.10.11.20.10.40.11.10.11.20.10.5-0.10.5
FreeBSD:14:quarterly0.11.10.11.2-0.11.10.11.20.10.60.10.60.10.6
FreeBSD:15:latest0.11.10.11.1n/a0.11.1n/a0.10.60.10.60.10.6
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Test dependencies:
  1. cmocka>=0 : sysutils/cmocka
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for libssh-0.11.2: OPENSSL=on: SSL/TLS support via OpenSSL STATIC=on: Build static executables and/or libraries ====> GSSAPI Security API support: you have to select exactly one of them GSSAPI_BASE=on: GSSAPI support via base system (needs Kerberos) GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal GSSAPI_MIT=off: GSSAPI support via security/krb5 GSSAPI_NONE=off: Disable GSSAPI support ===> Use 'make config' to modify these settings
Options name:
security_libssh
USES:
cmake:testing cpe pathfix tar:xz gssapi:base,flags ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://www.libssh.org/files/0.11/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.11.2
29 Jun 2025 16:12:48
commit hash: 8a475be5e894d739bd1c040b069aa08005e405eccommit hash: 8a475be5e894d739bd1c040b069aa08005e405eccommit hash: 8a475be5e894d739bd1c040b069aa08005e405eccommit hash: 8a475be5e894d739bd1c040b069aa08005e405ec files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/libssh: Update to 0.11.2

Changes:	https://git.libssh.org/projects/libssh.git/tree/CHANGELOG?h=stable-0.11
Security:	CVE-2025-4877, CVE-2025-4878, CVE-2025-5318, CVE-2025-5351,
CVE-2025-5372, CVE-2025-5449, CVE-2025-5987
(cherry picked from commit f1fa5379e2f8c6c7c9437813fc9577a3e9755833)

Number of commits found: 1