Executes ssh commands from a container.
First, create a secret with your SSH key:
docker secret create id_rsa ~/.ssh/id_rsa
Then, add the following step to your pipeline:
steps:
hello-world:
tasks:
- image: pipekit/ssh
secrets:
- source: id_rsa
mode: 0600
command: ssh [email protected] echo "Hello World!"
Content type
Image
Digest
Size
2.8 MB
Last updated
about 9 years ago
docker pull pipekit/ssh