move netssh configuration to class level