Drone SSH connection Time out

I have installed drone server and ssh-runner to try to create a folder using ssh but failed and an error like this appears:

my .drone.yml:

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

clone:
  disable: true

server:
  host: 177.33.9.222
  user:
    from_secret: userSSH
  password: 
    from_secret: passSSH

steps:
- name: greeting
  commands:
  - echo hello world
  - mkdir test-drone

is there any more configuration needed?

“connection timed out” indicates a networking issue (not an issue with Drone or the runner). The runner is unable to establish a TCP connection with your remote ssh server and eventually times out.

This thread may be helpful:

1 Like