kind: pipeline name: default steps: - name: ssh image: golang:1.17.2 environment: KEY: from_secret: key commands: - echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config - mkdir -p ~/.ssh - echo $KEY > ~/.ssh/id_rsa.pub - ssh kumoly@kumoly.io -p 2222 ls