jenkins-config/create-keys.sh

6 lines
136 B
Bash
Raw Normal View History

2024-09-28 04:03:12 -04:00
rm -f id_rsa
rm -f id_rsa.pub
ssh-keygen -t rsa -b 4096 -f ./id_rsa
(echo -n 'JENKINS_AGENT_SSH_PUBKEY=' ; cat id_rsa.pub) > agent.env