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

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details on branch 2024Q4
libssh2 Library implementing the SSH2 protocol
1.11.1,3 security on this many watch lists=52 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.11.1,3Version of this port present on the latest quarterly branch.
Maintainer: sbz@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2005-04-22 20:09:56
Last Update: 2024-10-31 19:56:19
Commit Hash: 3fd98fa
People watching this port, also watch:: libiconv, libxml2, curl, expat, pcre
Also Listed In: devel
License: BSD3CLAUSE
WWW:
https://www.libssh2.org/
Description:
libssh2 is a client-side C library implementing the SSH2 protocol. It supports regular terminal, SCP and SFTP sessions; port forwarding; password, key-based and keyboard-interactive authentication.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (208 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libssh2-1.11.1,3/catalog.mk
  3. /usr/local/share/licenses/libssh2-1.11.1,3/LICENSE
  4. /usr/local/share/licenses/libssh2-1.11.1,3/BSD3CLAUSE
  5. include/libssh2.h
  6. include/libssh2_publickey.h
  7. include/libssh2_sftp.h
  8. lib/cmake/libssh2/FindLibgcrypt.cmake
  9. lib/cmake/libssh2/FindMbedTLS.cmake
  10. lib/cmake/libssh2/FindWolfSSL.cmake
  11. lib/cmake/libssh2/libssh2-config-version.cmake
  12. lib/cmake/libssh2/libssh2-config.cmake
  13. lib/cmake/libssh2/libssh2-targets-release.cmake
  14. lib/cmake/libssh2/libssh2-targets.cmake
  15. @comment lib/libssh2.a
  16. lib/libssh2.so
  17. lib/libssh2.so.1
  18. lib/libssh2.so.1.0.1
  19. share/man/man3/libssh2_agent_connect.3.gz
  20. share/man/man3/libssh2_agent_disconnect.3.gz
  21. share/man/man3/libssh2_agent_free.3.gz
  22. share/man/man3/libssh2_agent_get_identity.3.gz
  23. share/man/man3/libssh2_agent_get_identity_path.3.gz
  24. share/man/man3/libssh2_agent_init.3.gz
  25. share/man/man3/libssh2_agent_list_identities.3.gz
  26. share/man/man3/libssh2_agent_set_identity_path.3.gz
  27. share/man/man3/libssh2_agent_sign.3.gz
  28. share/man/man3/libssh2_agent_userauth.3.gz
  29. share/man/man3/libssh2_banner_set.3.gz
  30. share/man/man3/libssh2_base64_decode.3.gz
  31. share/man/man3/libssh2_channel_close.3.gz
  32. share/man/man3/libssh2_channel_direct_streamlocal_ex.3.gz
  33. share/man/man3/libssh2_channel_direct_tcpip.3.gz
  34. share/man/man3/libssh2_channel_direct_tcpip_ex.3.gz
  35. share/man/man3/libssh2_channel_eof.3.gz
  36. share/man/man3/libssh2_channel_exec.3.gz
  37. share/man/man3/libssh2_channel_flush.3.gz
  38. share/man/man3/libssh2_channel_flush_ex.3.gz
  39. share/man/man3/libssh2_channel_flush_stderr.3.gz
  40. share/man/man3/libssh2_channel_forward_accept.3.gz
  41. share/man/man3/libssh2_channel_forward_cancel.3.gz
  42. share/man/man3/libssh2_channel_forward_listen.3.gz
  43. share/man/man3/libssh2_channel_forward_listen_ex.3.gz
  44. share/man/man3/libssh2_channel_free.3.gz
  45. share/man/man3/libssh2_channel_get_exit_signal.3.gz
  46. share/man/man3/libssh2_channel_get_exit_status.3.gz
  47. share/man/man3/libssh2_channel_handle_extended_data.3.gz
  48. share/man/man3/libssh2_channel_handle_extended_data2.3.gz
  49. share/man/man3/libssh2_channel_ignore_extended_data.3.gz
  50. share/man/man3/libssh2_channel_open_ex.3.gz
  51. share/man/man3/libssh2_channel_open_session.3.gz
  52. share/man/man3/libssh2_channel_process_startup.3.gz
  53. share/man/man3/libssh2_channel_read.3.gz
  54. share/man/man3/libssh2_channel_read_ex.3.gz
  55. share/man/man3/libssh2_channel_read_stderr.3.gz
  56. share/man/man3/libssh2_channel_receive_window_adjust.3.gz
  57. share/man/man3/libssh2_channel_receive_window_adjust2.3.gz
  58. share/man/man3/libssh2_channel_request_auth_agent.3.gz
  59. share/man/man3/libssh2_channel_request_pty.3.gz
  60. share/man/man3/libssh2_channel_request_pty_ex.3.gz
  61. share/man/man3/libssh2_channel_request_pty_size.3.gz
  62. share/man/man3/libssh2_channel_request_pty_size_ex.3.gz
  63. share/man/man3/libssh2_channel_send_eof.3.gz
  64. share/man/man3/libssh2_channel_set_blocking.3.gz
  65. share/man/man3/libssh2_channel_setenv.3.gz
  66. share/man/man3/libssh2_channel_setenv_ex.3.gz
  67. share/man/man3/libssh2_channel_shell.3.gz
  68. share/man/man3/libssh2_channel_signal_ex.3.gz
  69. share/man/man3/libssh2_channel_subsystem.3.gz
  70. share/man/man3/libssh2_channel_wait_closed.3.gz
  71. share/man/man3/libssh2_channel_wait_eof.3.gz
  72. share/man/man3/libssh2_channel_window_read.3.gz
  73. share/man/man3/libssh2_channel_window_read_ex.3.gz
  74. share/man/man3/libssh2_channel_window_write.3.gz
  75. share/man/man3/libssh2_channel_window_write_ex.3.gz
  76. share/man/man3/libssh2_channel_write.3.gz
  77. share/man/man3/libssh2_channel_write_ex.3.gz
  78. share/man/man3/libssh2_channel_write_stderr.3.gz
  79. share/man/man3/libssh2_channel_x11_req.3.gz
  80. share/man/man3/libssh2_channel_x11_req_ex.3.gz
  81. share/man/man3/libssh2_crypto_engine.3.gz
  82. share/man/man3/libssh2_exit.3.gz
  83. share/man/man3/libssh2_free.3.gz
  84. share/man/man3/libssh2_hostkey_hash.3.gz
  85. share/man/man3/libssh2_init.3.gz
  86. share/man/man3/libssh2_keepalive_config.3.gz
  87. share/man/man3/libssh2_keepalive_send.3.gz
  88. share/man/man3/libssh2_knownhost_add.3.gz
  89. share/man/man3/libssh2_knownhost_addc.3.gz
  90. share/man/man3/libssh2_knownhost_check.3.gz
  91. share/man/man3/libssh2_knownhost_checkp.3.gz
  92. share/man/man3/libssh2_knownhost_del.3.gz
  93. share/man/man3/libssh2_knownhost_free.3.gz
  94. share/man/man3/libssh2_knownhost_get.3.gz
  95. share/man/man3/libssh2_knownhost_init.3.gz
  96. share/man/man3/libssh2_knownhost_readfile.3.gz
  97. share/man/man3/libssh2_knownhost_readline.3.gz
  98. share/man/man3/libssh2_knownhost_writefile.3.gz
  99. share/man/man3/libssh2_knownhost_writeline.3.gz
  100. share/man/man3/libssh2_poll.3.gz
  101. share/man/man3/libssh2_poll_channel_read.3.gz
  102. share/man/man3/libssh2_publickey_add.3.gz
  103. share/man/man3/libssh2_publickey_add_ex.3.gz
  104. share/man/man3/libssh2_publickey_init.3.gz
  105. share/man/man3/libssh2_publickey_list_fetch.3.gz
  106. share/man/man3/libssh2_publickey_list_free.3.gz
  107. share/man/man3/libssh2_publickey_remove.3.gz
  108. share/man/man3/libssh2_publickey_remove_ex.3.gz
  109. share/man/man3/libssh2_publickey_shutdown.3.gz
  110. share/man/man3/libssh2_scp_recv.3.gz
  111. share/man/man3/libssh2_scp_recv2.3.gz
  112. share/man/man3/libssh2_scp_send.3.gz
  113. share/man/man3/libssh2_scp_send64.3.gz
  114. share/man/man3/libssh2_scp_send_ex.3.gz
  115. share/man/man3/libssh2_session_abstract.3.gz
  116. share/man/man3/libssh2_session_banner_get.3.gz
  117. share/man/man3/libssh2_session_banner_set.3.gz
  118. share/man/man3/libssh2_session_block_directions.3.gz
  119. share/man/man3/libssh2_session_callback_set.3.gz
  120. share/man/man3/libssh2_session_callback_set2.3.gz
  121. share/man/man3/libssh2_session_disconnect.3.gz
  122. share/man/man3/libssh2_session_disconnect_ex.3.gz
  123. share/man/man3/libssh2_session_flag.3.gz
  124. share/man/man3/libssh2_session_free.3.gz
  125. share/man/man3/libssh2_session_get_blocking.3.gz
  126. share/man/man3/libssh2_session_get_read_timeout.3.gz
  127. share/man/man3/libssh2_session_get_timeout.3.gz
  128. share/man/man3/libssh2_session_handshake.3.gz
  129. share/man/man3/libssh2_session_hostkey.3.gz
  130. share/man/man3/libssh2_session_init.3.gz
  131. share/man/man3/libssh2_session_init_ex.3.gz
  132. share/man/man3/libssh2_session_last_errno.3.gz
  133. share/man/man3/libssh2_session_last_error.3.gz
  134. share/man/man3/libssh2_session_method_pref.3.gz
  135. share/man/man3/libssh2_session_methods.3.gz
  136. share/man/man3/libssh2_session_set_blocking.3.gz
  137. share/man/man3/libssh2_session_set_last_error.3.gz
  138. share/man/man3/libssh2_session_set_read_timeout.3.gz
  139. share/man/man3/libssh2_session_set_timeout.3.gz
  140. share/man/man3/libssh2_session_startup.3.gz
  141. share/man/man3/libssh2_session_supported_algs.3.gz
  142. share/man/man3/libssh2_sftp_close.3.gz
  143. share/man/man3/libssh2_sftp_close_handle.3.gz
  144. share/man/man3/libssh2_sftp_closedir.3.gz
  145. share/man/man3/libssh2_sftp_fsetstat.3.gz
  146. share/man/man3/libssh2_sftp_fstat.3.gz
  147. share/man/man3/libssh2_sftp_fstat_ex.3.gz
  148. share/man/man3/libssh2_sftp_fstatvfs.3.gz
  149. share/man/man3/libssh2_sftp_fsync.3.gz
  150. share/man/man3/libssh2_sftp_get_channel.3.gz
  151. share/man/man3/libssh2_sftp_init.3.gz
  152. share/man/man3/libssh2_sftp_last_error.3.gz
  153. share/man/man3/libssh2_sftp_lstat.3.gz
  154. share/man/man3/libssh2_sftp_mkdir.3.gz
  155. share/man/man3/libssh2_sftp_mkdir_ex.3.gz
  156. share/man/man3/libssh2_sftp_open.3.gz
  157. share/man/man3/libssh2_sftp_open_ex.3.gz
  158. share/man/man3/libssh2_sftp_open_ex_r.3.gz
  159. share/man/man3/libssh2_sftp_open_r.3.gz
  160. share/man/man3/libssh2_sftp_opendir.3.gz
  161. share/man/man3/libssh2_sftp_posix_rename.3.gz
  162. share/man/man3/libssh2_sftp_posix_rename_ex.3.gz
  163. share/man/man3/libssh2_sftp_read.3.gz
  164. share/man/man3/libssh2_sftp_readdir.3.gz
  165. share/man/man3/libssh2_sftp_readdir_ex.3.gz
  166. share/man/man3/libssh2_sftp_readlink.3.gz
  167. share/man/man3/libssh2_sftp_realpath.3.gz
  168. share/man/man3/libssh2_sftp_rename.3.gz
  169. share/man/man3/libssh2_sftp_rename_ex.3.gz
  170. share/man/man3/libssh2_sftp_rewind.3.gz
  171. share/man/man3/libssh2_sftp_rmdir.3.gz
  172. share/man/man3/libssh2_sftp_rmdir_ex.3.gz
  173. share/man/man3/libssh2_sftp_seek.3.gz
  174. share/man/man3/libssh2_sftp_seek64.3.gz
  175. share/man/man3/libssh2_sftp_setstat.3.gz
  176. share/man/man3/libssh2_sftp_shutdown.3.gz
  177. share/man/man3/libssh2_sftp_stat.3.gz
  178. share/man/man3/libssh2_sftp_stat_ex.3.gz
  179. share/man/man3/libssh2_sftp_statvfs.3.gz
  180. share/man/man3/libssh2_sftp_symlink.3.gz
  181. share/man/man3/libssh2_sftp_symlink_ex.3.gz
  182. share/man/man3/libssh2_sftp_tell.3.gz
  183. share/man/man3/libssh2_sftp_tell64.3.gz
  184. share/man/man3/libssh2_sftp_unlink.3.gz
  185. share/man/man3/libssh2_sftp_unlink_ex.3.gz
  186. share/man/man3/libssh2_sftp_write.3.gz
  187. share/man/man3/libssh2_sign_sk.3.gz
  188. share/man/man3/libssh2_trace.3.gz
  189. share/man/man3/libssh2_trace_sethandler.3.gz
  190. share/man/man3/libssh2_userauth_authenticated.3.gz
  191. share/man/man3/libssh2_userauth_banner.3.gz
  192. share/man/man3/libssh2_userauth_hostbased_fromfile.3.gz
  193. share/man/man3/libssh2_userauth_hostbased_fromfile_ex.3.gz
  194. share/man/man3/libssh2_userauth_keyboard_interactive.3.gz
  195. share/man/man3/libssh2_userauth_keyboard_interactive_ex.3.gz
  196. share/man/man3/libssh2_userauth_list.3.gz
  197. share/man/man3/libssh2_userauth_password.3.gz
  198. share/man/man3/libssh2_userauth_password_ex.3.gz
  199. share/man/man3/libssh2_userauth_publickey.3.gz
  200. share/man/man3/libssh2_userauth_publickey_fromfile.3.gz
  201. share/man/man3/libssh2_userauth_publickey_fromfile_ex.3.gz
  202. share/man/man3/libssh2_userauth_publickey_frommemory.3.gz
  203. share/man/man3/libssh2_userauth_publickey_sk.3.gz
  204. share/man/man3/libssh2_version.3.gz
  205. libdata/pkgconfig/libssh2.pc
  206. @owner
  207. @group
  208. @mode
Collapse this list.
Dependency lines:
  • libssh2>0:security/libssh2
To install the port:
cd /usr/ports/security/libssh2/ && make install clean
To add the package, run one of these commands:
  • pkg install security/libssh2
  • pkg install libssh2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libssh2
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1730400101 SHA256 (libssh2-1.11.1.tar.xz) = 9954cb54c4f548198a7cbebad248bdc87dd64bd26185708a294b2b50771e3769 SIZE (libssh2-1.11.1.tar.xz) = 721700

Expand this list (4 items)

Collapse this list.

SHA256 (5d03b4f94ac6740e0085a6acda6fc417ca6ecc83.patch) = 8bf8dd96324f5e934cba3f850a70887f769dcef255f93f13b30f354c1c5e009f SIZE (5d03b4f94ac6740e0085a6acda6fc417ca6ecc83.patch) = 3073 SHA256 (d4e43c7b69d10b6cfaaa53787addfd4beac7a3ce.patch) = c9feb7d3d8c2b1619cb7bf2be2aa86830bf9f27b0ba470a192d33e510a23b3f3 SIZE (d4e43c7b69d10b6cfaaa53787addfd4beac7a3ce.patch) = 2684

Collapse this list.


Packages (timestamps in pop-ups are UTC):
libssh2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.11.1,31.11.1,31.9.0_3,31.11.1,31.11.1,3-1.9.0_3,3-
FreeBSD:13:quarterly1.11.1,31.11.1,31.11.0,31.11.1,31.11.1,31.11.0,31.11.0,31.11.0,3
FreeBSD:14:latest1.11.1,31.11.1,31.10.0_1,31.11.1,31.11.1,31.11.0,3-1.11.0,3
FreeBSD:14:quarterly1.11.1,31.11.1,3-1.11.1,31.11.1,31.11.0,31.11.0,31.11.0,3
FreeBSD:15:latest1.11.1,31.11.1,3n/a1.11.1,3n/a1.11.0_1,31.11.0_1,31.11.0_1,3
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
  3. pkgconf>=1.3.0_1 : devel/pkgconf
This port is required by:
for Libraries
  1. databases/pgadmin3
  2. databases/redisdesktopmanager
  3. databases/sequeler
  4. deskutils/subsurface
  5. devel/cargo-c
  6. devel/cargo-edit
  7. devel/cargo-generate
Expand this list (60 items / 53 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/cargo-leptos
  3. devel/cargo-udeps
  4. devel/dura
  5. devel/gbump
  6. devel/git-repo-manager
  7. devel/gitui
  8. devel/jujutsu
  9. devel/libgit2
  10. devel/libvirt
  11. devel/pipelight
  12. devel/rubygem-rugged
  13. devel/tabby
  14. devel/uv
  15. editors/lapce
  16. ftp/curl
  17. ftp/gstreamer1-plugins-curl
  18. ftp/termscp
  19. lang/julia
  20. misc/mc
  21. net/guacamole-server
  22. net/p5-Net-SSH2
  23. net-mgmt/zabbix5-proxy
  24. net-mgmt/zabbix5-server
  25. net-mgmt/zabbix6-proxy
  26. net-mgmt/zabbix6-server
  27. net-mgmt/zabbix7-proxy
  28. net-mgmt/zabbix7-server
  29. net-mgmt/zabbix72-proxy
  30. net-mgmt/zabbix72-server
  31. science/lammps
  32. security/medusa
  33. security/pecl-ssh2
  34. shells/sheldon
  35. shells/starship
  36. sysutils/cbsd
  37. sysutils/daggy
  38. sysutils/mise
  39. x11/wezterm
  40. Collapse this list.

Deleted ports which required this port:

Expand this list of 15 deleted ports
  1. devel/cargo*
  2. devel/cargo-tree*
  3. devel/monodevelop*
  4. lang/julia06*
  5. lang/julia07*
  6. lang/julia10*
  7. lang/julia11*
  8. misc/mc-nox11*
  9. net-mgmt/zabbix24-proxy*
  10. net-mgmt/zabbix24-server*
  11. net-mgmt/zabbix64-proxy*
  12. net-mgmt/zabbix64-server*
  13. security/pecl-ssh2-0*
  14. x11-fm/walcommander*
  15. x11-fm/wcmcommander*
  16. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for libssh2-1.11.1,3: STATIC=off: Build static executables and/or libraries TRACE=off: Enable debug packet traces ====> SSL protocol support: you have to select exactly one of them GCRYPT=off: Use GNU crypt library instead of OpenSSL OPENSSL=on: SSL/TLS support via OpenSSL ===> Use 'make config' to modify these settings
Options name:
security_libssh2
USES:
cmake:testing cpe pathfix pkgconfig tar:xz ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://github.com/libssh2/libssh2/releases/download/libssh2-1.11.1/
  2. https://www.libssh2.org/download/
Collapse this list.

There are no commits on branch 2024Q4 for this port