GitHunt
RI

ridenui/swifter-swift-ssh

Swift libssh wrapper for iOS and macOS

SwifterSwiftSSH

Pod Version License Docs

Requirements

  • XCode >= 13.2.1
  • Swift Toolchain >= 5.5.2

Basic usage

Podfile:

pod 'SwifterSwiftSSH'

Swift:

import SwifterSwiftSSH

// ...

let options = SSHOption(host: host, port: port, username: username, password: password);

let ssh = SSH(option: options);

let result = try await ssh.exec("ls -lah");

print(result.stdout);

Languages

C57.8%Swift24.9%C++14.0%Ruby2.6%Objective-C0.7%

Contributors

MIT License
Created December 17, 2021
Updated November 3, 2025