Ssh to docker host fails after install

After installing Docker (docker.io package), when I try to SSH into my Docker host, it automatically tries to connect through to the 172.x port. However, I never changed it, and reinstalling openssh-server didn’t resolve it. I also double-checked there are no iptables configurations, selinux is not installed, my routes are correct with eth0 being the default gateway. If I uninstall the package, and then reboot the host, then I can SSH into it just fine. But as soon as I install the docker.io package, it refuses all SSH connections, even when pointing directly at the IP address.

How can I resolve this?

lloydm@ubuntu-primary:~$ ssh -v syseng@docker-mjolnir.domain.com OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to docker-mjolnir.domain.com [172.17.42.1] port 22. ^C

lloydm@ubuntu-primary:~$ cat /etc/ssh/ssh_config
Host *
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no

Those are the only enabled options on both hosts, the rest are commented out and not included for formatting reasons.

What does your sshd_config say?
Is the ListenAddress set?