add inheritance to ssh class