Swift SSH client library for Apple platforms

Traversio

Traversio is a native Swift SSH and SFTP client library for Apple platforms. The documentation covers package setup, connection configuration, authentication, commands, shells, SFTP, forwarding, and the current release boundary.

Native Swift
Async/Await
Apple-First Transport
Commands, SFTP, Forwarding

Traversio supports evaluation and staged integration. Start with the quickstart, then use the feature matrix and status pages to confirm supported workflows, documented limits, and validation status.

Read By Section

Quick Start Example

Start with the closure-based convenience API for a first connection. Useconnect(configuration:) when explicit connection ownership fits your application flow.

let configuration = SSHClientConfiguration(
    host: "example.com",
    username: "deploy",
    authentication: .password(secret),
    hostKeyPolicy: .knownHostsFile("~/.ssh/known_hosts")
)

let result = try await SSHClient.withConnection(
    configuration: configuration
) { connection in
    try await connection.execute("uname -a")
}

Library Snapshot

  • The public API is designed around Swift types and structured connection ownership.
  • Connection, session, and SFTP workflows use async/await and structured concurrency throughout the public surface.
  • The current library surface covers commands, shells, SFTP, host-key trust, transport policy, and forwarding.
  • Apple-first transport, explicit host trust, and live OpenSSH validation define the current implementation boundary.

Read Next

Copyright © 2026 GitSwift LLC. All rights reserved.

Release scope, validation status, and supported workflows are documented under Project and Reference.