downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ssh2_publickey_add> <ssh2_fingerprint
[edit] Last updated: Fri, 23 Mar 2012

view this page in

ssh2_methods_negotiated

(PECL ssh2 >= 0.9.0)

ssh2_methods_negotiatedMüzakere yöntemlerini listeler

Açıklama

array ssh2_methods_negotiated ( resource $oturum )

Müzakere yöntemlerinin listesini döndürür.

Değiştirgeler

oturum

ssh2_connect() ile sağlanan bir SSH bağlantı tanıtıcısı.

Dönen Değerler

Örnekler

Örnek 1 - Müzakere yöntemlerini öğrenmek

<?php
$baglanti 
ssh2_connect('shell.example.com'22);
$yontemler ssh2_methods_negotiated($baglanti);

echo 
"Şifreleme anahtarları ile ilgili müzakere yöntemleri: " .
     
"{$methods['kex']}\n";
echo 
"Sunucu, {$methods['hostkey']} yönteminde şu parmak izi ile tanınır: " .
      
ssh2_fingerprint($baglanti) . "\n";

echo 
"Sunucudan istenen paketler için şu yöntemler kullanılır:\n";
echo 
"\tCrypt: {$methods['client_to_server']['crypt']}\n";
echo 
"\tComp: {$methods['client_to_server']['comp']}\n";
echo 
"\tMAC: {$methods['client_to_server']['mac']}\n";

echo 
"İstemciden istenen paketler için şu yöntemler kullanılır:\n";
echo 
"\tCrypt: {$methods['server_to_client']['crypt']}\n";
echo 
"\tComp: {$methods['server_to_client']['comp']}\n";
echo 
"\tMAC: {$methods['server_to_client']['mac']}\n";

?>

Ayrıca Bakınız



add a note add a note User Contributed Notes ssh2_methods_negotiated
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites