asyncssh2

Execute commands and upload/download files using multiple processes and asynchronous methods via SSH.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.1.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:26

Authors

  • up7down8

Installation

nimble install asyncssh2
choosenim install asyncssh2
git clone https://github.com/up7down8/asyncssh2

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
asyncssh2 - - - - - - -

Dependencies

Package Version Optional
nim >= 1.0.0 No

Source

Repository https://github.com/up7down8/asyncssh2
Homepage https://github.com/up7down8/asyncssh2
Registry Source nimble_official

README

asyncssh2

Execute commands and upload/download files using multiple processes and asynchronous methods via SSH.

clone from: https://github.com/yglukhov/asyncssh

  • Add support for Windows
  • Add GC safe, can be used in multi-threaded manner
  let s = waitFor asyncssh2.newSshSession("ip", Port(22), "user", "password#")
  waitFor s.putFile("tests/test1.nim", "/tmp/test1.nim")
  echo waitFor s.exec("cat /tmp/test1.nim")
  waitFor s.getFile("/tmp/test1.nim", "test1.nim")

  s.shutdown()