mirror of
https://github.com/up7down8/asyncssh2
synced 2026-01-14 05:31:34 +00:00
No description
| src | ||
| tests | ||
| asyncssh2.nimble | ||
| README.md | ||
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()