# SSH clone: skipped

**URL:** <https://drone.discourse.group/t/ssh-clone-skipped/8605>\
**Category:** Drone Support\
**Created:** [November 18, 2021, 3:38pm UTC](https://drone.discourse.group/t/ssh-clone-skipped/8605 "2021-11-18T15:38:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bartoszgolek](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bartoszgolek/32/2288_2.png) [@bartoszgolek](https://drone.discourse.group/u/bartoszgolek)\
**Post date:** [November 18, 2021, 3:38pm UTC](https://drone.discourse.group/t/ssh-clone-skipped/8605/1 "2021-11-18T15:38:15Z")

</div>

I installed and configured drone with two runners docker and SSH. All build steps are run correctly on docker, whoever for ssh runner I’m getting ssh - clone: skipped.

 ![drone_ssh_issue](https://canada1.discourse-cdn.com/flex003/uploads/testdrone/original/2X/1/1bfe70b00e8cd636f3f87676993e0b0035a20cd7.png)

My `.drone.yml` is as follows:

```auto
kind: pipeline
type: docker
name: default

steps:
  - name: echo branch
    image: alpine
    commands:
      - echo ${DRONE_BRANCH}

---
kind: pipeline
type: ssh
name: ssh

server:
  host: ******
  user: ******
  ssh_key:
    from_secret: ssh_key

steps:
  - name: deploy-app
    commands:
      - echo ${DRONE_BRANCH}
      - ./publish.sh ${DRONE_BRANCH}

```

I’m using docker-compose to setup server and runners and both runners are sharing same file with: DRONE\_RPC\_SECRET, DRONE\_RPC\_HOST, DRONE\_RPC\_PROTO

What I’m doing wrong?

---

<div class="post-metadata">

**Author:** ![bartoszgolek](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bartoszgolek/32/2288_2.png) [@bartoszgolek](https://drone.discourse.group/u/bartoszgolek)\
**Post date:** [November 18, 2021, 3:40pm UTC](https://drone.discourse.group/t/ssh-clone-skipped/8605/2 "2021-11-18T15:40:19Z")

</div>

Apologies, I uploaded the wrong screenshot.  
Here is the one with error visible:

 ![drone_ssh_issue](https://canada1.discourse-cdn.com/flex003/uploads/testdrone/original/2X/e/e112b91cff1a2987f80a1f3b7cdd422f7921881f.png)

---

<div class="post-metadata">

**Author:** ![bartoszgolek](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bartoszgolek/32/2288_2.png) [@bartoszgolek](https://drone.discourse.group/u/bartoszgolek)\
**Post date:** [November 24, 2021, 7:33am UTC](https://drone.discourse.group/t/ssh-clone-skipped/8605/3 "2021-11-24T07:33:50Z")

</div>

I found out that the clone: skipping issue was caused by using secrets in build step. In fact I’m not able yet to properly use secrets in drone.  
For SSH it caused “clone: skipping” and docker plugin fails on registry login if I use “from\_secret” notation.
