curl doesn't support SSH based protocols
Package curl does not support SSH (eg. SFTP) protocols anymore. Probably due to change in latest release of the curl (7.58.0).
Please add build option
--with-libssh2=/usr/local to keep previous
(from redmine: issue id 8535, created on 2018-02-21, closed on 2018-02-27)