22
Apr

Updating WordPress on Fedora using SSH2 Protocol

This is the missing link for you Fedora Users, without this package installed you will not even see the SSH2 Option in wordpress for updates.

yum install php-pecl-ssh2

then restart apache

httpd -k restart

After installing that (and having SSH2 installed and all the other Apache / PHP Goodies) the SSH method opens up in WordPress.

Note you do not need an authorized key, just username and password for SSH. Notice that the host can be anything from localhost to the IP Address of the domain, any way you would log into SSH.

Also make sure to set the following in your wp-config,

define(‘FTP_BASE’, ‘/var/www/vhostsyourdomain.com/httpdocs/’);
define(‘FTP_CONTENT_DIR’, ‘/var/www/vhosts/yourdomain.com/httpdocs/wp-content/’);
define(‘FTP_PLUGIN_DIR ‘, ‘/var/www/vhosts/yourdomain.com/httpdocs/wp-content/plugins/’);

Nice thing is you can use your root user and password (for you dangerous types) to upgrade, just don’t give it to anyone else!!!! This is a security risk!!

Other good resources on this topic (but missing the above command and advice):

http://snowulf.com/2010/06/29/wordpress-enabling-sshsftp-updates/

http://codex.wordpress.org/Editing_wp-config.php

http://www.firesidemedia.net/dev/wordpress-install-upgrade-ssh/

Find Me
Join Me
Sign up & play Smite with Geilt
Name: Geiltadecht
Sign up & play LoL with Geilt
Name: geiltadecht
Play Rift with Geilt - Get a Free Trial!
Guild: Sigil

Shard: Wolfsbane
Post Calendar
April 2014
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
282930  
Twitter
44 years ago
About Geilt
Alexander Conroy is Chief Optimization Officer and Co-President of Esotech in Miami Florida
Empire Avenue
© Copyright 2010-2014 Geilt. All rights reserved. Created by Dream-Theme — premium wordpress themes. Proudly powered by WordPress.