";
echo "
" . $_host . "
";
echo "";
$originalConnectionTimeout = ini_get('default_socket_timeout');
ini_set('default_socket_timeout', 2);
echo (@ssh2_connect($_host, 22, array("hostkey" => "ssh-dsa"))) ? "Connexion OK" : "Connexion KO";
ini_set('default_socket_timeout', $originalConnectionTimeout);
echo "
";
echo "";
}
test("46.105.33.123"); // ProWeb
test("home595637013.1and1-data.host"); // 1and1
test("test.rebex.net"); // 1and1
test("itcsubmit.wustl.edu"); // 1and1
test("demo.wftpserver.com"); // 1and1
*/