Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

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 0.0.0.0 in the ssh_config file and that didn't help either.

Does anyone have any suggestions?
0
lvnv
Asked:
lvnv
  • 2
  • 2
1 Solution
 
martin_2110Commented:
any errors in the logs. Maybe try adding a hostname for the interface in /etc/hosts
0
 
martin_2110Commented:
you shutdown ip6tables also?
0
 
lvnvAuthor Commented:
I reinstalled sshd and it works now... what a pain... I have a feeling it had to do with the hostkeys.
0
 
lvnvAuthor Commented:
I did shut down ip6tables too
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now