sshkit is a toolkit for deploying code and assets to servers in a repeatable, testable, reliable way.
SSHKit is a toolkit for deploying code and assets to servers in a repeatable, testable, reliable way. In other words, SSHKit is a toolkit for running commands in a structured way on one or more servers.
SSHKit provides a convenient set of API which are nestable in any order, repeatable, and stackable. There are some helper APIs also which are convenient helpers for Ruby, and Rails based apps.
SSHKit uses a simple connection pool (enabled by default) to reduce the cost of negotiating a new SSH connection for every on()
block. Depending on usage and network conditions, this can add up to a significant time savings. In one test, a basic cap deploy
ran 15-20 seconds faster thanks to the connection pooling added in recent versions of SSHKit. It provides concurrency handling, sane error checking and control flow that would otherwise be difficult to achieve with pure Net::SSH
.
You should use this tag if your question is related with SSHkit toolkit usage.