forked from Lainports/freebsd-ports
Note these patches were cherry-piecked from the following upstream commits: https://github.com/libssh2/libssh2/commit/bbc43cb https://github.com/libssh2/libssh2/commit/aba34f5 https://github.com/libssh2/libssh2/commit/62b825c Submitted by: Andrew Heybey <ath@heybey.org> Reviewed by: sbz (maintainer)
13 lines
579 B
Text
13 lines
579 B
Text
--- tests/openssh_server/Dockerfile.orig 2016-08-20 15:37:25 UTC
|
|
+++ tests/openssh_server/Dockerfile
|
|
@@ -50,6 +50,10 @@ COPY ssh_host_rsa_key /tmp/etc/ssh/ssh_h
|
|
RUN mv /tmp/etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key
|
|
RUN chmod 600 /etc/ssh/ssh_host_rsa_key
|
|
|
|
+COPY ssh_host_ecdsa_key /tmp/etc/ssh/ssh_host_ecdsa_key
|
|
+RUN mv /tmp/etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_ecdsa_key
|
|
+RUN chmod 600 /etc/ssh/ssh_host_ecdsa_key
|
|
+
|
|
RUN adduser --disabled-password --gecos 'Test user for libssh2 integration tests' libssh2
|
|
RUN echo 'libssh2:my test password' | chpasswd
|
|
|