sshd - connection refused

Posted on 2009-04-20
Last Modified: 2012-05-06
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?
Question by:lvnv
    LVL 7

    Expert Comment

    any errors in the logs. Maybe try adding a hostname for the interface in /etc/hosts
    LVL 7

    Expert Comment

    you shutdown ip6tables also?

    Accepted Solution

    I reinstalled sshd and it works now... what a pain... I have a feeling it had to do with the hostkeys.

    Author Comment

    I did shut down ip6tables too

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now