sshd - connection refused

I recently cloned a hard drive. On the new drive, I changed the IP addresses.
I have eth0 -> eth0:11

I CAN ssh into eth0 BUT CANNOT ssh into eth0:0 - eth0:11

I get 'ssh: connect to host <IP ADDR> port 22: Connection refused'

I turned off the firewall entirely and still couldn't get in so, it's not a firewall issue.

I explicitly put listenaddress in the ssh_config file and that didn't help either.

Does anyone have any suggestions?
Who is Participating?
lvnvAuthor Commented:
I reinstalled sshd and it works now... what a pain... I have a feeling it had to do with the hostkeys.
any errors in the logs. Maybe try adding a hostname for the interface in /etc/hosts
you shutdown ip6tables also?
lvnvAuthor Commented:
I did shut down ip6tables too
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.