SkillAgentSearch skills...

Asyncssh2

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

Install / Use

/learn @up7down8/Asyncssh2
About this skill

Quality Score

0/100

Supported Platforms

Universal

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

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1y ago
Forks0

Languages

Nim

Security Score

55/100

Audited on Sep 8, 2024

No findings