[wp-hackers] Automatically Updating WordPress via SSH

Jeffrey Nolte jnolte at getmoxied.net
Mon Apr 30 19:31:52 UTC 2012


Hi Otto,

Thank you for the quick reply.  I did restart everything except for php5-fpm which did the trick after a restart.  After some more research into this method it seems it may not be very secure. Does anyone have any thoughts or opinions on this?  

I am planning on implementing a user specifically for WordPress access via FTP to allow for automated upgrading of plugins and core.

Thanks again,

Jeff
On Apr 30, 2012, at 3:27 PM, Otto wrote:

> Dumb question: Did you restart your webserver after making the change?
> Extension has to get loaded and such, and if you didn't restart, then
> the FastCGI processes holding your PHP processes won't have reloaded
> and the INI won't have been read.
> 
> The check in core to make the option appear is this:
> 
> if ( extension_loaded('ssh2') && function_exists('stream_get_contents') )
> 
> So make sure you have streams enabled too.
> 
> -Otto
> 
> 
> 
> On Mon, Apr 30, 2012 at 12:48 PM, Jeffrey Nolte <jnolte at getmoxied.net> wrote:
>> Hello,
>> 
>> I am running WordPress v3.3.2 and having some issues configuring the server to use SSH2 to allow autoupdate.  The options I am receiving on the admin panel are FTP and FTPS, I have seen articles mentioning that SSH2 should appear in the options for update but it does not appear.
>> 
>> I have installed SSH2 and implemented the following in my php.ini file for php5fpm.
>> 
>> extension=ssh2.so
>> 
>> Can anyone lend any insight on this?
>> 
>> Thank you,
>> 
>> Jeffrey Nolte
>> Moxie Media Group, Inc.
>> 594 Broadway #305
>> New York, NY 10012
>> Office: (646) 820-8540
>> check my current email load
>> 
>> 
>> 
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list