Title: SSH2 error on deleting plugin
Last modified: August 24, 2016

---

# SSH2 error on deleting plugin

 *  [fagat73](https://wordpress.org/support/users/fagat73/)
 * (@fagat73)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/ssh2-error-on-deleting-plugin/)
 * Hello all,
 * I have performed a fresh installation of WordPress 4.1.1 on an Ubuntu Server 
   VPS (my first experience with WP).
 * Plugin installation using using SSH2 and and private key is working fine, the
   problem that I’m experiencing is when I try to remove a plugin (using SSH2).
 * When removing the plugin (as described), I get the following error message from
   my Chrome browser :
 * `ERR_EMPTY_RESPONSE.`
 * And in Apache error logs:
 * `[core:notice] [pid 11990] AH00052: child pid 11997 exit signal Segmentation 
   fault (11)`
 * After enabling WP debug log i get the following responde (in my browser):
 *     ```
       Undefined index: password
       Backtrace from warning
       In /var/www/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php [line 115]:
   
       /var/www/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php [line 115] calling process_error()
       /var/www/wordpress/wp-admin/includes/file.php [line 863] calling connect()
       /var/www/wordpress/wp-admin/includes/plugin.php [line 781] calling WP_Filesystem()
       /var/www/wordpress/wp-admin/plugins.php [line 341] calling delete_plugins()
       ```
   
 * Does someone experienced the same kind of problem ? I don’t understand how it
   can be possible to install a plugin using SSH2 but not removing it.
 * Follow my php info (using php -i command) :
 *     ```
       PHP Version => 5.5.12-2ubuntu4.3
       ...
       Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp
       ...
       ssh2
   
       SSH2 support => enabled
       extension version => 0.12
       libssh2 version => 1.4.3
       banner => SSH-2.0-libssh2_1.4.3
       ...
       ```
   
 * Thanks for your help

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

 *  [skarface](https://wordpress.org/support/users/skarface/)
 * (@skarface)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/ssh2-error-on-deleting-plugin/#post-5968000)
 * i’m having a similar problem…
    It’s weird because everything still works fine,
   installing/deleting plugins, themes, and whatever else… But it’s annoying and
   I don’t like errors. Possibly a file permission issue which I will investigate…
 * > Warning: file_put_contents(): Unable to open ssh2.sftp://Resource id #46/var/
   > www/wordpress/.maintenance on remote host in /var/www/wordpress/wp-admin/includes/
   > class-wp-filesystem-ssh2.php on line 176
 *  [Michael Katze](https://wordpress.org/support/users/michaelkatze/)
 * (@michaelkatze)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/ssh2-error-on-deleting-plugin/#post-5968151)
 * Hallo,
 * we have the same problem after installing WordPress SEO Plugin.
    _(openSuSE 13.1,
   Apache 2.4.6, PHP 5.4.20, WordPress 4.1.1)_
 * Any idea?

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

The topic ‘SSH2 error on deleting plugin’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Michael Katze](https://wordpress.org/support/users/michaelkatze/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/ssh2-error-on-deleting-plugin/#post-5968151)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
