FROM centos # telnet is required by some fabric command. without it you have silent failures RUN yum install -y openssh-server # enable no pass and speed up authentication RUN sed -i 's/#PermitEmptyPasswords no/PermitEmptyPasswords yes/;s/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config CMD service sshd start ; bash