Drone SSH stuck in pending

I want to try to create a new folder via drone ssh but after I try as in the documentation, the status is always pending. is there anything I missed? my 1 server IP:, my 2 server IP:

kind: pipeline
type: ssh
name: drone-ssh-test

  user: user_name
  password: pass_word

- name: make folder
  - mkdir test-drone

did you install an ssh runner to process your pipeline?

also see Builds are Stuck in Pending Status

1 Like

I wanted to install ssh runner but my DRONE RPC HOST environment is already used for exec runner, can it also be used for ssh runner?

Iā€™m pretty sure you can. You just set it once in the Drone image config, and then just repeat it in all of your runners.

Guess the best way to find out though would be to try it :man_shrugging:

I already did it this way:

docker run -d \
  -p 3003:3000 \
  --restart always \
  --name runner \

but its appear error:

drone-runner-ssh: error: required key DRONE_RPC_HOST missing value, try --help

The DRONE_RPC_HOST is the hostname / ip address of the Drone server, not the runner. The runner uses this DRONE_RPC_HOST to determine the server address so that it can connect and poll for work. It is therefore required.

1 Like

Thanks, @bradrydzewski for your explanation, this problem has been solved