Error:
ssh_exchange_identification: Connection closed by remote host
Solution: ssh is not installed in the docker container, run the following code:
apt-get install ssh
apt-get update
sudo /etc/init.d/ssh start
Once the container is shut down, these commands will be re-executed and then suspended (ctrl p and ctrl q)