Title: Update via SSH/SSL
Last modified: September 1, 2016

---

# Update via SSH/SSL

 *  [t2tw](https://wordpress.org/support/users/t2tw/)
 * (@t2tw)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/update-via-sshssl/)
 * I am running cPanel/WHM on CentOS but i’m having issues updating via SSH/SSL.
   I’ve defined it all in the wp-config file but its still saying failed to connect
   to server. I’ve tried SSH SFTP Updater Support but the fields are not editable
   so i’ve just left it as SSL. Anyone who’s running cPanel/CentOS do i need to 
   install libssh2-1-dev libssh2-php?

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

 *  [Tim Nash](https://wordpress.org/support/users/tnash/)
 * (@tnash)
 * Spam hunter
 * [9 years, 8 months ago](https://wordpress.org/support/topic/update-via-sshssl/#post-7701679)
 * What defines have you added to wp-config.php?
 *  Thread Starter [t2tw](https://wordpress.org/support/users/t2tw/)
 * (@t2tw)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/update-via-sshssl/#post-7701726)
 * define(‘FTP_PUBKEY’,’/home/dev/.ssh/dev.pub’);
    define(‘FTP_PRIKEY’,’/home/dev/.
   ssh/dev’); define(‘FTP_USER’,’dev’); define(‘FTP_PASS’,”); define(‘FTP_HOST’,’
   myserver:22′);

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

The topic ‘Update via SSH/SSL’ is closed to new replies.

## Tags

 * [cPanel](https://wordpress.org/support/topic-tag/cpanel/)
 * [ssh](https://wordpress.org/support/topic-tag/ssh/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [t2tw](https://wordpress.org/support/users/t2tw/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/update-via-sshssl/#post-7701726)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
