The changes to tcp_test_ssh are necessary because i need to test if the SSH server is UP, and the server is behind a firewall, so i need to check if it is on behind a gateway. So, i created a ssh tunnel there. tcp_test_ssh was completly rewrited to use NET:SSH (That has support to tunneling) instead of raw sockets (That only support direct connection).
Unfortunally i dont dispose much time to port this code to knife, and also, i think its ok to have that code here. The change to Gemfile was because of Net::SSH or some other dependencies. Nothing too intrusive.
What i just done was drop the raw sockets, because of lack of support for tunneling. Added the variables, for the bootstrap stuff, and added the support to check if a server sshd is up, by using Net::SSH Tunneling to check if SSL port is on.
What do you think?