Commit 148367e9 authored by Emiliano Della Bina's avatar Emiliano Della Bina
Browse files

fix ssh key

parent a49c0f5f
......@@ -3,7 +3,8 @@ MAINTAINER Emiliano Della Bina <>
RUN yum -y install openssh-server openssh-clients epel-release sudo && \
rm -f /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_dsa_key && \
ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -q -N "" -t rsa -f /root/.ssh/id_rsa
RUN yum -y install pwgen
COPY sshd_config /etc/ssh/sshd_config
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment