diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-12 23:51:53 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-12 23:57:40 +0300 |
commit | 51bee470d57e93faa28514cebbac59379a235693 (patch) | |
tree | 94645a8c7385af9dce384bb33796e8aa8aa945a0 /.travis/docker/server/Dockerfile | |
parent | rename systemd units (diff) | |
download | cgitize-51bee470d57e93faa28514cebbac59379a235693.tar.gz cgitize-51bee470d57e93faa28514cebbac59379a235693.zip |
Travis: ed25519 keys, which are shorter
Diffstat (limited to '.travis/docker/server/Dockerfile')
-rw-r--r-- | .travis/docker/server/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis/docker/server/Dockerfile b/.travis/docker/server/Dockerfile index 035d871..66d2957 100644 --- a/.travis/docker/server/Dockerfile +++ b/.travis/docker/server/Dockerfile @@ -8,11 +8,11 @@ RUN apk --no-cache add bash git openssh-server && \ WORKDIR /root -COPY ["ssh/server_key", "/etc/ssh/ssh_host_rsa_key"] -COPY ["ssh/server_key.pub", "/etc/ssh/ssh_host_rsa_key.pub"] +COPY ["ssh/server_key", "/etc/ssh/ssh_host_ed25519_key"] +COPY ["ssh/server_key.pub", "/etc/ssh/ssh_host_ed25519_key.pub"] COPY ["ssh/client_key.pub", "./.ssh/authorized_keys"] -RUN chmod 0600 -- /etc/ssh/ssh_host_rsa_key && \ +RUN chmod 0600 -- /etc/ssh/ssh_host_ed25519_key && \ chmod 0700 -- ./.ssh/ && \ chmod 0600 -- ./.ssh/authorized_keys |