Skip to content

jnthn/p6-ssh-libssh

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
t
 
 
 
 
 
 
 
 
 
 

SSH::LibSSH

An asynchronous Perl 6 binding to LibSSH. So far it only supports client operations, and even then only some of those. It implements:

  • Connecting to SSH servers, performing server authentication and client authentication (by default, using a running key agent or the current user's private key; you can also provide a private key file or a password)
  • Executing commands, sending stdin, reading stdout/stderr, and getting the exit code
  • Port forwarding
  • Reverse port forwarding
  • Single file SCP in either direction

See the examples directory for a set of examples to illustrate usage of the module.

All operations are asynchronous, and the interface to the module is expressed in terms of the Perl 6 Promise and Supply types.

On Linux, install libssh with your package manager to use this module. On Windows, the installation of this module will download a pre-built libssh.dll, so just install the module and you're good to go.

Pull requests to add missing features, or better documentation, are welcome. Please file bug reports or feature requests using GitHub Issues.

About

Asynchronous binding for libssh; client-only and limited functionality so far.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages