No description
Find a file
2024-07-04 11:07:30 +08:00
src remove passl params 2024-07-04 11:07:30 +08:00
tests change test case. 2024-04-16 15:36:40 +08:00
asyncssh2.nimble first commit 2024-04-16 15:18:11 +08:00
README.md Add an explanation of the timeout 2024-04-19 14:21:53 +08:00

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()