[wp-trac] [WordPress Trac] #10348: Include PHP-based SSH2 layer for those without the SSH2 PHP extension

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 3 21:08:40 UTC 2011


#10348: Include PHP-based SSH2 layer for those without the SSH2 PHP extension
-------------------------------------+-------------------------
 Reporter:  blazerlocal              |       Owner:  dd32
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  Filesystem               |     Version:  2.9
 Severity:  normal                   |  Resolution:  maybelater
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+-------------------------

Comment (by blazerlocal):

 I hacked Wordpress to use phpseclib.  You'll need to replace your class-
 wp-filesystem-ssh2.php with the following:

 http://pastebin.com/iWq9UiP0

 You'll then need to make the following changes:

 http://pastebin.com/DBkNhap9

 Only problem: when you perform an update all of this will be overwritten
 so you'll need to redo it for each update.  A plugin would be better but
 this was faster to write.  Maybe someone else can adapt it into a plugin!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10348#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list