build up the ssh framework