Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there ssh and scp tasks available for phing?

I would like to do remote deployment from my build machine onto a server. The remoting can be done via ssh commands from a script, but I would rather use phing and a deploy.xml file that would do the automation.

What alternatives do I have to do ssh (and also scp) tasks from within a phing build file?

like image 552
Johan Avatar asked Oct 23 '08 10:10

Johan


1 Answers

SCPTask in Phing:

copies files to and from a remote host using scp. This task requires the PHP SSH2 extension to function...

like image 182
yegor256 Avatar answered Sep 28 '22 02:09

yegor256