extend ssh context with logout ability