start of the ssh connection class
drop in some code from previous consh version. not functional