add code for check the ssh available