3

I want to write a little PHP script using the ssh2_* functions to deploy some code to several servers concurrently and run a few tasks.

Is this possible in PHP, or do I have to wait for each request to complete?

I can use a different language, but we're a PHP shop so I thought I'd stick with the familiar.

2

1 Answer 1

3

ssh2_exec() allows multiple concurrent requests. See here.

Sign up to request clarification or add additional context in comments.

1 Comment

Aha! Maybe I'm creating problems where there isn't one then. I'll try this and see how it goes. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.