Skip to content

Commit

Permalink
ssh public key fixup
Browse files Browse the repository at this point in the history
Co-authored-by: Albin Söderqvist <[email protected]>
  • Loading branch information
RikardO-HM and albsod authored Nov 5, 2024
1 parent 3849fda commit df1b63c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ tar -xvf OpenJDK21U-jre_aarch64_linux_hotspot_21.0.5_11.tar.gz -C /opt/
#export PATH=$JAVA_HOME/bin:$PATH

#install public shh key on this machine.
echo ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDKqSuN7KghtZfxvpNzklJ+fz/Z81Jd7tMKHaxEfvDvNJSewWKWmwVfX1JXNHgrLDYsFOwptRuxHwHV2Y+rdmXztHzca6mxNGcgw4AfbQipBHYZMRzCzBQ167inOn3GmuoMvatCvVfRRrRGUdnl+fCaEx2AiJDFX68wMo+Fgyj64482DRlVbBiw0M9IKpoI3nMMz74Y5yYPQM5zYRqaOguld8JY/rtlq0/PmtaUj4IMN/o0l7uheLjSXjuw4DtKYAIA2i0YelAKxIsy2pV+9TM/cAtrqz1lZ+X+Jrha+K84yrIgIuuyWX2CQOx3DwerkkT81Cp6CtnNnLQRR6WxsrUbHUVqAnA+EYguUIrs73d94rf5w02bTf9x3TIVei1QgqCmpnrMf0PZYmG3PnvAYh0gxKm0HpKmwkSTx3LtzPMwgoiGhaTshvITmsHCWbEcTUshXyRWs2M1FnL0iJJPGjzY3Jj6nCDGaZiEsSYPYKVZELem2lXeS4/FFPYKvmXNZ3U= root@verdin-am62-hmm > .ssh/authorized_keys
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDKqSuN7KghtZfxvpNzklJ+fz/Z81Jd7tMKHaxEfvDvNJSewWKWmwVfX1JXNHgrLDYsFOwptRuxHwHV2Y+rdmXztHzca6mxNGcgw4AfbQipBHYZMRzCzBQ167inOn3GmuoMvatCvVfRRrRGUdnl+fCaEx2AiJDFX68wMo+Fgyj64482DRlVbBiw0M9IKpoI3nMMz74Y5yYPQM5zYRqaOguld8JY/rtlq0/PmtaUj4IMN/o0l7uheLjSXjuw4DtKYAIA2i0YelAKxIsy2pV+9TM/cAtrqz1lZ+X+Jrha+K84yrIgIuuyWX2CQOx3DwerkkT81Cp6CtnNnLQRR6WxsrUbHUVqAnA+EYguUIrs73d94rf5w02bTf9x3TIVei1QgqCmpnrMf0PZYmG3PnvAYh0gxKm0HpKmwkSTx3LtzPMwgoiGhaTshvITmsHCWbEcTUshXyRWs2M1FnL0iJJPGjzY3Jj6nCDGaZiEsSYPYKVZELem2lXeS4/FFPYKvmXNZ3U= root@verdin-am62-hmm" > .ssh/authorized_keys
chmod 700 /home/jenkinsuser/.ssh
chmod 600 /home/jenkinsuser/.ssh/authorized_keys
chown -R jenkinsuser:jenkinsuser /home/jenkinsuser/.ssh
Expand Down

0 comments on commit df1b63c

Please sign in to comment.