Replacing bash ssh calls to the Net::SSH library.  

I tested this and it works.  This replaces all the `ssh ....` with net::ssh library.  I've run the whole test suite against this branch and everything passes.  
Sorry to bother you with this kind of things, but indentation is wrong here.