WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16925, comment 7


Ignore:
Timestamp:
07/05/11 04:52:37 (3 years ago)
Author:
knuthmorris
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16925, comment 7

    initial v1  
    88http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3759 
    99 
    10 Seriously, you can test this stuff out yourself.  I did so just now.  PHP 5.3.6, version of phpseclib that's included in the Wordpress plugin, and 0.11.2.  Here's what I got on three separate trials using the script in the above link: 
     10But hey - that post is over a year old so let's try it again, shall we?  PHP 5.3.6, the version of phpseclib that's included in the Wordpress plugin, and 0.11.2 of php ssh.  Here's what I got on three separate trials using the script in the above link: 
    1111 
     12{{{ 
    1213Trial #1: 
    1314took 5.3246591091156 seconds 
     
    2122took 5.1897370815277 seconds 
    2223took 7.1662919521332 seconds 
     24}}} 
    2325 
    2426phpseclib consistently beats php ssh2 hands down.  And there's a fairly wide margin too.