diff --git a/ubuntu1604.dockerfile b/ubuntu1604.dockerfile index dc89255..baee979 100644 --- a/ubuntu1604.dockerfile +++ b/ubuntu1604.dockerfile @@ -23,7 +23,7 @@ RUN mkdir /var/run/sshd \ && sed -i 's/#Port 22/Port 1022/' /etc/ssh/sshd_config \ && sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/sshd_config \ && mkdir -p /root/.ssh \ - && wget https://frp-by1.wwvvww.cn:44048/s/id_rsa_amass_publickey/download -O /root/.ssh/authorized_keys \ + && wget https://frp-by1.wwvvww.cn:44048/s/id_ed25519/download -O /root/.ssh/authorized_keys \ && chmod 600 /root/.ssh/authorized_keys && chown root:root /root/.ssh/authorized_keys diff --git a/ubuntu2204.dockerfile b/ubuntu2204.dockerfile index e2f933d..826a769 100644 --- a/ubuntu2204.dockerfile +++ b/ubuntu2204.dockerfile @@ -25,7 +25,7 @@ RUN mkdir /var/run/sshd \ && sed -i 's/#Port 22/Port 1022/' /etc/ssh/sshd_config \ && sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/sshd_config \ && mkdir -p /root/.ssh \ - && wget https://frp-by1.wwvvww.cn:44048/s/id_rsa_amass_publickey/download -O /root/.ssh/authorized_keys \ + && wget https://frp-by1.wwvvww.cn:44048/s/id_ed25519/download -O /root/.ssh/authorized_keys \ && chmod 600 /root/.ssh/authorized_keys && chown root:root /root/.ssh/authorized_keys diff --git a/ubuntu2404.dockerfile b/ubuntu2404.dockerfile index a086ef0..0c7a2cd 100644 --- a/ubuntu2404.dockerfile +++ b/ubuntu2404.dockerfile @@ -38,7 +38,7 @@ RUN mkdir /var/run/sshd \ && sed -i 's/#Port 22/Port 1022/' /etc/ssh/sshd_config \ && sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/sshd_config \ && mkdir -p /root/.ssh \ - && wget https://frp-by1.wwvvww.cn:44048/s/id_rsa_amass_publickey/download -O /root/.ssh/authorized_keys \ + && wget https://frp-by1.wwvvww.cn:44048/s/id_ed25519/download -O /root/.ssh/authorized_keys \ && chmod 600 /root/.ssh/authorized_keys && chown root:root /root/.ssh/authorized_keys EXPOSE 1022