Hướng dẫn dùng dss ssh trong PHP
(PECL ssh2 >= 0.9.0) ssh2_connect — Connect to an SSH server ssh2_connect( Once connected, the client should verify the server's hostkey using ssh2_fingerprint(), then authenticate using either password or public key. * - Supported Values are dependent on methods supported by underlying library. See » libssh2 documentation for additional information. Note: Crypt and MAC method " For security reasons, Returns a resource on success, or Example #1 ssh2_connect() example Open a connection forcing 3des-cbc when sending packets, any strength aes cipher when receiving packets, no compression in either direction, and Group1 key exchange. Steve Kamerman ¶ 11 years ago connect() {
thessoro at gmail dot com ¶ 7 years ago
christophermjgray at gmail dot com ¶ 4 years ago
ssh2_debug($message, $language, $always_display) { jrdbrndt at gmail dot com ¶ 2 years ago
Trev White ¶ 9 years ago
strlen($errortext) > 0) { suri dot suribala dot com ¶ 17 years ago
$host = 'host'; rainerkrauss at googlemail dot com ¶ 8 years ago
|