Browse Source

let's leave KexAlgorithms default

master
parent
commit
93a243aa6c
  1. 1
      Dockerfile

1
Dockerfile

@ -11,7 +11,6 @@ RUN apt-get update \ @@ -11,7 +11,6 @@ RUN apt-get update \
&& mkdir -p "$DATADIR" \
&& chown $OWNER "$DATADIR" \
&& echo "AuthorizedKeysFile $AUTHORIZED_KEYS_FILE" >>/etc/ssh/sshd_config \
&& echo "KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1" >>/etc/ssh/sshd_config \
&& touch $AUTHORIZED_KEYS_FILE \
&& chown $OWNER $AUTHORIZED_KEYS_FILE \
&& chmod 0600 $AUTHORIZED_KEYS_FILE \

Loading…
Cancel
Save