Commit c5b38ef7 authored by Holger Levsen's avatar Holger Levsen

reproducible Debian: add support for host specific authorized_keys used for pb7

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent d495c770
command="rsync --server -vlogDtpre.iLsf . /var/lib/jenkins/userContent/reproducible/debian/ftp-master.debian.org/buildinfo/",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,from="5.153.231.11" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfNzXVgNgXLv/Y0bVr+uEXI/1m0w0T/xO2WA6s9HLIPwwfgX0CF69EvMDavYin6itPBi4L5IZOC6WTkjePKkVb0TvIcTbnV95f+EG23uibGVzB++1vG6foQjWEs5oRywRB4OjPbiO8TDdFp1Sju/oA0SBywTGr1RRvz6R3ANaIUatCiD2A2R5G9L3PncZ36WdlvlkFlQCMtaPLcaqLnCMR8f5eX2ywNIAFugiyniaK1NxjLePk6MbpuRnZkT3yxpXZ2mkBFo73eT5zZrFvUkhDjbj5IzVeMvzj4ph+SPdCqSd/IivOCBJ9kGwShVph67OY7QduHuUs40ASKuMEtTB/ holger@coccia
......@@ -630,6 +630,9 @@ if [ "$HOSTNAME" = "jenkins" ] ; then
else
sudo cp jenkins-nodes-home/authorized_keys /var/lib/jenkins/.ssh/authorized_keys
fi
if [ -f jenkins-nodes-home/authorized_keys.$HOSTNAME ] ; then
sudo cat jenkins-nodes-home/authorized_keys.$HOSTNAME >> /var/lib/jenkins/.ssh/authorized_keys
fi
sudo -u jenkins cp jenkins-home/ssh_config.in /var/lib/jenkins/.ssh/config
nodes/gen_ssh_config | sudo -u jenkins tee -a /var/lib/jenkins/.ssh/config > /dev/null
nodes/gen_known_host_file | sudo tee /etc/ssh/ssh_known_hosts > /dev/null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment