anchor.diff:    expect          \
     locales
   
  +# Allow to ssh in the container simply using root/root
   RUN echo 'root:root' | chpasswd
   RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
   # SSH login fix. Otherwise user is kicked off after login
   RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
  -ENV NOTVISIBLE "in users profile"
  -RUN echo "export VISIBLE=now" >> /etc/profile
  +RUN sed -i -e 's/^UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config
  +ENV NOTVISIBLE "in users profile" && \ echo "export VISIBLE=now" >> /etc/profile
  +# Generate SSH Keys
  +RUN ssh-keygen -A
  +# Set UTF8 locale
  +RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen
   
  -RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
  -RUN locale-gen
  -
  -# clone personnal configurations
  -RUN git clone https://bitbucket.org/Horgix/configs.git /root/.configs \
  -  && cp -r /root/.configs/.bash \
  -  /root/.configs/.bashrc        \
  -  /root/.configs/.shell-config  \
  -  /root/.configs/.vim           \
  -  /root/.configs/.vimrc         \
  -  /root/.configs/.zsh           \
  -  /root/.configs/.zshrc         \
  +# Clone personnal configurations and "install" it
  +RUN git clone https://bitbucket.org/Horgix/configs.git /root/.configs   \
  +  && cd /root/.configs && cp -r \
  +  .bash         \
  +  .bashrc       \
  +  .shell-config \
  +  .vim          \
  +  .vimrc        \
  +  .zsh          \
  +  .zshrc        \
     /root/
   
   # change prompt color to differenciate guest from host
  
positive.code: # ssh Dockerfile on Debian
  
  FROM debian:latest
  MAINTAINER Alexis Horgix Chotard <alexis.horgix.chotard@gmail.com>
  
  EXPOSE 22
  RUN apt-get update && apt-get install --yes apt-utils sed
  RUN sed -i 's/exit 101/exit 0/' /usr/sbin/policy-rc.d
  RUN apt-get install --yes \
    openssh-server  \
  
negative.code: # Remove message of the day for a cleaner login
    && rm /etc/motd
  
  # change prompt color to differenciate guest from host
  RUN sed -i 's/PR_CYAN/PR_RED/' /root/.zsh/prompt.zsh  \
  # Change root's shell to zsh
    && chsh -s /bin/zsh root
  # Remove message of the day for a cleaner login
  #  && rm /etc/motd
  
  CMD /usr/sbin/sshd -D
  