Skip to content

Commit 5b16a7f

Browse files
committed
riscv64: Replace id_rsa.pub with id_ed25519.pub
Encryption algorithm is changed after bumping to ubuntu:24:04, ubuntu:22.04 is using RAS whicle ubuntu:24.04 is using Ed25519. Replace `id_rsa.pub` with `id_ed25519.pub` to catch up. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
1 parent 843a9d2 commit 5b16a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv64/build_finalize.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo 'tmpfs /tmp tmpfs rw,nosuid,nodev,size=524288k,nr_inodes=204800 0 0' >> $RO
1313

1414
# Setup container ssh config
1515
yes "" | ssh-keygen -P ""
16-
cat /root/.ssh/id_rsa.pub > $ROOTFS_DIR/root/.ssh/authorized_keys
16+
cat /root/.ssh/id_ed25519.pub > $ROOTFS_DIR/root/.ssh/authorized_keys
1717
cat > /root/.ssh/config << EOF
1818
Host riscv-qemu
1919
HostName localhost

0 commit comments

Comments
 (0)