Open4ssh initial release, feature requests welcome

Open4ssh is a small convenience wrapper for net-ssh. Its intended and primary purpose is to provide pragmatic execution of shell commands on a remote host via SSH.

https://github.com/nkratzke/open4ssh

is inspired by Open3 standard library which provides access to exit codes, standard output and standard error messages of executed commands on local host. Open4ssh does the same but in a SSH remote context. Astonishingly, there seems no pragmatic way to figure out exit codes or standard error messages of executed commands with the net-ssh library. Additionally, Open4ssh is able to execute a sequence of commands and returns their exit codes, standard out and standard error messages in a command related list.

Open4ssh is most useful in remote automation scenarios which are triggered from Ruby environments.

Feature requests are welcome …

4 Likes