0

I am working on a solution that would Read/Write Server files from remote gateway system to the local storage of iOS device using SwiftNIO SSH. This way I would be able to execute shell commands. I checked in Swift's website but couldn't find specific implementation:

https://swift.org/blog/swiftnio-ssh/

How should I proceed or is there any other workaround?

Avneet Singh
  • 55
  • 1
  • 11

1 Answers1

0

The implementation is here: https://github.com/apple/swift-nio-ssh. There are some examples in the repository.

Lukasa
  • 14,599
  • 4
  • 32
  • 34
  • 2
    Please share link of any example... I tried searching this repo but didnt see any sample implementation... – Avneet Singh Mar 12 '21 at 05:32
  • Examples are in a Sources folder in main.swift files, for example: https://github.com/apple/swift-nio-ssh/blob/main/Sources/NIOSSHClient/main.swift – kpostekk Aug 10 '21 at 20:44