moved ssh code into separate source folder