broke out the ssh again
fixed duplication
reduced duplication in logger
Merge pull request #34 from c4ssio/master

cleanup