libssh2: FFI bindings to libssh2 SSH2 client library (http://libssh2.org/)

[ bsd3, library, network ] [ Propose Tags ]

This package provides FFI bindings for SSH2 client library named libssh2.

As of version 0.2 all blocking is handled in Haskell code rather than in C code. This means that all calls are now interruptable using Haskell asynchronous exceptions; for instance, it is now possible to use System.Timeout in combination with "libssh2".

Note on usage on Windows: On Windows you MUST compile your executable with -threaded or libssh2 will NOT work. We have tested libssh2 on Windows using http://mingw.org/, with http://www.openssl.org/ and http://libssh2.org/ compiled from source (be sure to pass the shared option to the configure script for openssl to enable the shared libraries).

Modules

[Last Documentation]

  • Network
    • SSH
      • Client
        • Network.SSH.Client.LibSSH2
          • Network.SSH.Client.LibSSH2.Errors
          • Network.SSH.Client.LibSSH2.Foreign
          • Network.SSH.Client.LibSSH2.GCrypt
          • Network.SSH.Client.LibSSH2.Types
          • Network.SSH.Client.LibSSH2.WaitSocket

Flags

Automatic Flags
NameDescriptionDefault
gcrypt

add hack that allows to run threaded program when libssh2 is built against gcrypt

Disabled
example-client

Build the example client

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.0.5, 0.2.0.6, 0.2.0.7, 0.2.0.8, 0.2.0.9
Dependencies base (>=4 && <5), bytestring (>=0.9), filepath, libssh2 (>=0.2), network (>=2.3), syb (>=0.3.3), time (>=1.2), utf8-string [details]
License BSD-3-Clause
Author IlyaPortnov
Maintainer portnov84@rambler.ru
Category Network
Home page https://github.com/portnov/libssh2-hs
Uploaded by IlyaPortnov at 2017-05-19T18:22:25Z
Distributions NixOS:0.2.0.9
Reverse Dependencies 3 direct, 0 indirect [details]
Executables hs-ssh-client
Downloads 7692 total (35 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-05-19 [all 3 reports]