Description
Citadel is a Swift framework for SSH, with both a client and a server. It is a high-level API around NIOSSH that makes the lower-level library easier to use and adds tools that NIOSSH does not provide. The client connects to an SSH server and can run commands. It can collect output into one buffer, or read stdout and stderr separately. It can also stream input into a process, and it offers PTY and TTY sessions. Citadel supports jump hosts, so you can connect to one host and then jump to another, including chains of jumps. An SFTP client is built on top of the SSH client. You can also forward TCP-IP connections through the SSH server, which is useful for proxying services such as MongoDB, Redis or MySQL. A servers section in the README covers building SSH servers. The project is in active development and its source is public on GitHub.…
Highlights
- SSH client for running commands from Swift
- SFTP client built on the SSH client
- Jump hosts and TCP-IP forwarding
- PTY and TTY sessions
- SSH server support
Ratings & Reviews
No ratings yet
Be the first to rate Citadel.
People also visit
SwiftServer
SwiftServer is an SSH client and server monitor for iPhone, iPad, and Mac
Citadel FAQ
What is Citadel?
A Swift framework for SSH, built on top of NIOSSH to make it easier to use.
Who is it for?
Swift developers who need an SSH client or server in their code, for running commands, moving files or proxying connections.
Can it connect through another host?
Yes. You connect to a jump host first, then jump to the target host. Multiple jumps can be chained.
Does it include SFTP?
Yes. An SFTP client is built from an SSH client instance.
What are the best Citadel alternatives?
Popular alternatives to Citadel include VVTerm, Pro.webssh.net and Netcatty. See all Citadel alternatives


