On the request of our Linux customers, we have shipped a new SSH build task that allows running commands or scripts on a remote server. This task is available on Visual Studio Team Services and will be available in the next release of Team Foundation Server for our on-premises customers.
Using the task is simple. You specify your SSH connection information in an SSH service endpoint, ensure the public key is setup on the remote machine and provide a script with your deployment or configuration steps to run on the remote machine. The task also allows specifying commands directly instead of a script file.
Try it out and let us know if you have any feedback on our GitHub repository.
To learn more about cross platform development with Team Services, visit http://java.visualstudio.com/