Docker: SSH freezes on login

I can succefully login to server using ssh 111.111.111.111 without password. But after multiple ssh login, I can’t access server for some while(it freezes when I try to login).


To tell the whole story I’m trying to create generic docker machine using following lines.

  • SSH into a DC/OS created public agent node to deploy a Docker container?
  • How to store named docker volume with mysql data on external disk (mac os)?
  • docker-machine on windows 10 - “You must have a copy of the scp binary locally to use the scp feature”
  • Spring Cloud with Consul for High Availability
  • Run docker image with docker-compose
  • Using tc tbf on veth to limit ingress bandwidth works, but I don't know the detail
  • docker-machine create\
        --driver generic\
        --generic-ip-address=111.111.111.111\
        srv
    

    All of the errors are ssh related, and they are quite randomly at different stages:

        Error getting SSH command: Something went wrong running an SSH command!
        command : cat /etc/os-release
        err     : exit status 255
        output  :
    

    or:

        if ! type docker; then curl -sSL https://get.docker.com | sh -; fi
        SSH cmd err, output: exit status 255: 
        error installing docker:
    

    After any of these error I can’t login for somewhile. Please let me know if any log or confs is needed.

  • Why doesn't the docker volume in Windows Server show up when I run this command?
  • GAE inside docker. cant expose 8080
  • Forwarding traffic between two interfaces
  • How do I configure amount of RAM to be used by kalabox on Ubuntu
  • How does it possible that Ubuntu image has only ~100MB?
  • operation not permitted Error response from daemon: Cannot start container System error: operation not permitted
  • One Solution collect form web for “Docker: SSH freezes on login”

    Since docker executes procedures via separate ssh command, somehow my provider detected me as an intruder for brute force attacks, changing the ssh port on remote server solved the problem.

    Please view another question that I asked at
    SSH parallel command execution freeze for this matter.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.