Title: Looking for an update script
Last modified: August 22, 2016

---

# Looking for an update script

 *  Resolved [Scott Severance](https://wordpress.org/support/users/mssever/)
 * (@mssever)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/looking-for-an-update-script/)
 * Manual updates from one version of WordPress to the next are a real nuisance 
   because they take a long time. However, I’m unable to use the automatic updater
   for two reasons:
    1. I’m unwilling to have my WP files owned by the server user due to security concerns.
    2. WP’s other option is to update via FTP. However, FTP is insecure, and I’m unwilling
       to enable FTP access to my host.
 * It doesn’t appear to me to be possible to auto-update WordPress via ssh/scp. 
   So, I’m wondering whether any script has been written to update WP so I don’t
   have to spend so much time updating manually.
 * _Info about my environment:_ My [host](http://NearlyFreeSpeech.net) runs FreeBSD
   and provides me with shell access via ssh. My development machine is a Linux 
   box. Both environments include support for all the standard scripting languages,
   Windows stuff excepted. I keep a local version of the code in a bzr repository
   and typically modify that before uploading to my host.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/looking-for-an-update-script/#post-5880538)
 * I believe if the (pecl) SSH2 extension is enabled on your host, you’ll see an
   additional radio button selection option for updating over SSH using a uname/
   passwd or key pair in your update dialog in the dashboard.
 * Or you might take a look at upgrade constants, and see if it might be possible
   to auto-update over SSH by defining the method in wp-config instead.
    [ WordPress Upgrade
   Constants
 * [edit] – ‘yep. The SSH info turned out to be right below the Upgrade Constants
   section..
 * _“There are two ways to upgrade using SSH2._
 * The first is to use the SSH SFTP Updater Support plugin. The second is to use
   the built-in SSH2 upgrader, which requires the pecl SSH2 extension be installed.“
   [Enabling SSH Upgrade Access](http://codex.wordpress.org/Editing_wp-config.php#Enabling_SSH_Upgrade_Access)
 *  Thread Starter [Scott Severance](https://wordpress.org/support/users/mssever/)
 * (@mssever)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/looking-for-an-update-script/#post-5880571)
 * Thanks for your reply. I ended up using the SSH SFTP Updater Support plugin and
   it worked just fine.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/looking-for-an-update-script/#post-5880580)
 * Nice!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Looking for an update script’ is closed to new replies.

## Tags

 * [script](https://wordpress.org/support/topic-tag/script/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/looking-for-an-update-script/#post-5880580)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
