Ruby replacement for bash+ssh