This is fixed in Zesty's version of php-ssh2 (1.0+0.13-2). Here's its changelog entry:
php-ssh2 (1.0+0.13-2) unstable; urgency=medium * Apply patches to fix ssh2 to work again with 5.6.28 and 7.0.13 (Courtesy of Remi Collet) (Closes: #849946) -- Ondřej Surý <ond...@debian.org> Tue, 22 Nov 2016 21:22:53 +0100 Here's a link to the bug it closed: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849946 I verified Wordpress updates via ssh2 work in Xenial with only this package from Zesty. ** Bug watch added: Debian Bug tracker #849946 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849946 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1617294 Title: Unable to locate path with php-ssh2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php-ssh2/+bug/1617294/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs