kind: pipeline name: default steps: - name: ssh image: golang:1.17.2 environment: KEY: from_secret: key commands: - pwd - ls /root - ls ~/.ssh/ - echo $KEY > ~/.ssh/id_rsa.pub - ssh kumoly@kumoly.io -p 2222 ls