base ssh framework