{"id":19007581,"date":"2026-08-31T14:10:09","date_gmt":"2026-08-31T14:10:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wpvivid-sftp-upload-fails\/"},"modified":"2026-08-31T14:10:09","modified_gmt":"2026-08-31T14:10:09","slug":"wpvivid-sftp-upload-fails","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wpvivid-sftp-upload-fails\/","title":{"rendered":"WPvivid SFTP upload fails"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have an SFTP backup upload problem with WPvivid.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Environment:<\/strong><\/p>\n\n\n\n<ul>\n<li>WordPress hosted on o2switch<\/li>\n\n\n\n<li>PHP 8.1.34<\/li>\n\n\n\n<li>SSH2 PHP extension 1.11.1<\/li>\n\n\n\n<li>WPvivid 0.9.133<\/li>\n\n\n\n<li>SFTP server: <code>eros.usbx.me:22<\/code><\/li>\n\n\n\n<li>Server: OpenSSH 10.0p2 \/ Debian 13<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">WPvivid successfully creates the backup locally, but fails when uploading it to SFTP with:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">&#8220;The connection failed because of incorrect credentials or server connection timeout.&#8221;<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">I have tested the same connection from the same o2switch server:<\/p>\n\n\n\n<ul>\n<li>OpenSSH <code>sftp<\/code> \u2192 connection and file upload successful<\/li>\n\n\n\n<li>PHP <code>ssh2_connect()<\/code> \u2192 successful<\/li>\n\n\n\n<li>PHP <code>ssh2_auth_password()<\/code> \u2192 successful<\/li>\n\n\n\n<li>PHP SSH2 SFTP upload \u2192 successful<\/li>\n\n\n\n<li><strong>XCloner \u2192 same SFTP server \u2192 backup and upload successful<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Therefore, the SFTP server, credentials, port 22, firewall and PHP\/SSH2 environment are working correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I also noticed that WPvivid includes its own phpseclib implementation:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vendor\/phpseclib\/phpseclib\/phpseclib\/Net\/SFTP.php\nvendor\/phpseclib\/phpseclib\/phpseclib\/Net\/SSH2.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Could you please investigate whether there is a compatibility issue between WPvivid&#8217;s bundled phpseclib\/SFTP implementation and the current OpenSSH 10 server?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fact that XCloner works successfully with the exact same SFTP destination suggests that the problem is specific to WPvivid.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I can provide additional logs or perform further tests if needed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Best regards,<\/p>\n","protected":false},"template":"","class_list":["post-19007581","topic","type-topic","status-publish","hentry","topic-tag-sftp"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19007581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19007581\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19007581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}