Sign inSign up

atishoo/ssh-agent

By atishoo

Updated almost 2 years ago

a jenkins ssh agent, and you can use docker in this image

Image
Developer tools
0

490

atishoo/ssh-agent repository overview

Jenkins SSH Agent

You can use docker、curl、wget、aliyun cli and connect this container by ssh private key.

Run a container

docker run -d --privileged --restart=always \
    --name jenkin-agent \
    -p <your_local_port>:22 \
    -e "JENKINS_AGENT_SSH_PUBKEY=<public_key>" \
    -e "DOCKER_REGISTRY_MIRROR=<docker_registry_mirror>" \
    atishoo/ssh-agent[:tag]

default user is root!

Connect it

you can connect by ssh via ssh -i you_inditify -p port [email protected]

Tag summary

Content type

Image

Digest

sha256:c7739190f

Size

309.7 MB

Last updated

almost 2 years ago

docker pull atishoo/ssh-agent