# How to deploy to multiple servers using ssh runner?

**URL:** <https://drone.discourse.group/t/how-to-deploy-to-multiple-servers-using-ssh-runner/10771>\
**Category:** Drone Support\
**Created:** [April 30, 2020, 6:51am UTC](https://drone.discourse.group/t/how-to-deploy-to-multiple-servers-using-ssh-runner/10771 "2020-04-30T06:51:48Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [September 14, 2021, 1:28pm UTC](https://drone.discourse.group/t/how-to-deploy-to-multiple-servers-using-ssh-runner/10771/3 "2021-09-14T13:28:12Z")

</div>

> Is there anyway to deploy to multiple servers using ssh runner?

This sounds like a good use case for creating a new drone plugin [1] for the docker or kubernetes runner using something like pssh [2]

I think this comment is somewhat relevant:

> [@Mount docker volume as the base git-repository (and skip git-clone)](http://discuss.harness.io/t/shell-runner-path-problems/7482/2):
>
> Have you seen the following documentation page? [http://docs.drone.io/cloning/](http://docs.drone.io/cloning/) It seems that you can provide a custom clone step, which you could make use of to provide the data from your other volume perhaps. I’m sure someone else will be able to jump in with a more concrete example, perhaps this may be able to get your somewhere, though.

I created the ssh runner so that Drone could easily execute pipelines on operating systems that did not support containers. For example, we used the ssh runner to execute pipelines on bsd and to execute pipelines on windows (before windows supported containers).

I think the docker runner (or kubernetes runner) with a multi-ssh plugin is going to be the best solution to this problem.

[1] [https://docs.drone.io/plugins/overview/](https://docs.drone.io/plugins/overview/)  
[2] [https://github.com/robinbowes/pssh](https://github.com/robinbowes/pssh)

---

_[View the full topic](https://drone.discourse.group/t/how-to-deploy-to-multiple-servers-using-ssh-runner/10771)._
