Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Can't ssh into my instance.

  1. #11
    Join Date
    Feb 2009
    Beans
    42

    Re: Can't ssh into my instance.

    What is the Public address, the Private address, and the address of the subnet that your client machine is on?

  2. #12
    Join Date
    Jan 2011
    Location
    Ahmedabad, India
    Beans
    42

    Re: Can't ssh into my instance.

    Hello there, I am using --addressing private in my instances,

    I ran the following command...
    ssh -i ~/.euca/mykey.priv ubuntu@172.19.1.2

    So it says,
    ssh: connect to host 172.19.1.2 port 22: No route to host

    Any idea?

  3. #13
    Join Date
    Jan 2011
    Location
    Ahmedabad, India
    Beans
    42

    Re: Can't ssh into my instance.

    If I try to ping my instances,
    ping 172.19.1.2

    icmp_seq=1 Destination host unreachable
    what is the problem?

  4. #14
    Join Date
    Apr 2010
    Beans
    92

    Re: Can't ssh into my instance.

    I believe you are accessing the instance through the wrong IP address. euca-describe-instances shows two IP addresses. You the operator and any client or user accesses the instance through the first IP address you see. The second is used by eucalyptus itself and is not the concern of a EUC operator user, or client.

    1) Ping the NC (the IP of the machine itself, not the instance) from the CLC and/or CL. If there is no response your problem is with your basic network setup and/or hardware.

    2) If you are successful with part 1, ping the first IP address in euca-describe-instance from the CLC and/or the CL. If you do not get a response you have a network problem with the bridge or iptables.

  5. #15
    Join Date
    Jan 2011
    Location
    Ahmedabad, India
    Beans
    42

    Re: Can't ssh into my instance.

    Thanks for replying,
    I am using --addressing private as I am not having pool of public IP addresses. Whenever I use watch -n5 euca-describe-instances

    It shows the list of instances, My instance is having the same IP addresses.

    So what to do?

  6. #16
    Join Date
    Feb 2009
    Beans
    42

    Re: Can't ssh into my instance.

    Just to be sure, run

    sudo iptables -P FORWARD ACCEPT

    on the Cloud Controller to make sure that it is forwarding packets from the instances.

  7. #17
    Join Date
    Jan 2011
    Location
    Ahmedabad, India
    Beans
    42

    Re: Can't ssh into my instance.

    I have used this command, bu tit doesn't work anyhow. There was no reply, no output.

    sudo iptables -P FORWARD ACCEPT

    Is there any other possibility to perform this?

  8. #18
    Join Date
    Feb 2009
    Beans
    42

    Re: Can't ssh into my instance.

    My guess is that it is a routing problem. If you gave us the details and what your private AND public IP addresses and subnets are, I missed it.

    My suggestion is that you try to ssh to the public address first, assuming that it's on the same subnet as your controller.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •