Getting automatic update of WordPress to work via SSH

New method for doing this on Ubuntu can be found here.

Today i noticed that WordPress actually support automatic upgrade via SSH, the problem was that i simply did not get option up at all. After some quick googling, i noticed that i was missing a up2date ssh2 PECL package. So for me the fix was simple:

1) Installing php5-devel / php5-dev (PHP development libraries)
2) Installing the pecl package ssh2
3) Restarting Apache

And voila, the SSH2 option appeared!

One thought on “Getting automatic update of WordPress to work via SSH

  1. Jøss, se der ja! Et lite easteregg 😛 Selv om jeg egentlig synes det er greit med FTP, siden man begrenser filtilgangen litt. SSH-chroot er litt pes.