Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: 3 computers 1-1 can't talk??? SSH or Ping

Hybrid View

  1. #1
    Join Date
    Nov 2013
    Beans
    22

    Angry 3 computers 1-1 can't talk??? SSH or Ping

    Lets say I have 3 computers all hooked up in the network:
    Linux1
    Linux2
    LiveDuo

    1. In Linux1, I can ssh and ping Linux2 with no problem
    2. In Linux2, I can ssh and ping Linux1 with no problem

    3. In Linux1, I can ssh and ping LiveDuo with no problem
    4. In Linux2, I CAN'T ssh or ping LiveDuo ??? Why ??

    I restarted ssh in Linux2 and didn't work. I also found that in arp -n the IP address of LiveDuo was listed in Linux2 so I deleted and it didn't help.
    Any other suggestions??

  2. #2
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,703

    Re: 3 computers 1-1 can't talk??? SSH or Ping

    I would start by using tcpdump to watch what packets go between the machines.
    Run this command on linux2 and then try the ping in another prompt:
    Code:
    sudo tcpdump -npe
    And perhaps compare with the same test on linux1 or post the trace here if you're having difficulty with it.

    Edit:
    Is it possible that another PC has the same IP address as linux2, and LiveDuo is forwarding to the other one? I don't know what LiveDuo is.

  3. #3
    Join Date
    Nov 2013
    Beans
    22

    Re: 3 computers 1-1 can't talk??? SSH or Ping

    LiveDuo is like a time machine but acts as another computer since I can ssh to it back and forth from linux1. Which files are specific for Ubuntu that might have that IP block or something strange?

  4. #4
    Join Date
    Nov 2013
    Beans
    22

    Re: 3 computers 1-1 can't talk??? SSH or Ping

    Any other suggestions?

  5. #5
    Join Date
    Nov 2013
    Beans
    22

    SSH access files?

    Hello all,
    I have some trouble with my Ubuntu machine using ssh. I was wondering what files are executed/read/needed during the ssh process? For example: /etc/host.cong or ~/.ssh/*

    Thanks in advance,

  6. #6
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: SSH access files?

    Are you talking about the client or the server?

    For the client, no files are really needed, but if they exist ~/.ssh/config and /etc/ssh/ssh_config will be read.

  7. #7
    Join Date
    Nov 2013
    Beans
    22

    Angry SSH files?

    There is something wrong with my ssh command in one of my specific computer http://ubuntuforums.org/showthread.p...6#post12859326

    I was wondering what files are being accessed when I execute this command? Or what files are needed for it?
    For example:
    ~/.ssh*
    /etc/host.conf

    ??

  8. #8
    Join Date
    Nov 2006
    Location
    Craggy Island.
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: SSH files?

    Hello


    Just wondering what makes you think there is something wrong with the command on that computer.
    I recommend running the command the cog suggested.
    It should show you if ssh packets are going to the target and id they are being received.

    If you really suspect ssh is a problem you could always remove and readd it
    You can tell a man who boozes by the company he chooses, as the pig got up and slowly walked away.

  9. #9
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: SSH files?

    Quote Originally Posted by grandrigo View Post
    There is something wrong with my ssh command in one of my specific computer http://ubuntuforums.org/showthread.p...6#post12859326
    Not impossible but mot likely the problem is somewhere other than ssh
    I was wondering what files are being accessed when I execute this command? Or what files are needed for it?
    The ssh binary is what is called. It is located at /usr/bin/ssh. You can see it by using strace. The very first this called is this: execve("/usr/bin/ssh"

    For example:
    ~/.ssh*
    /etc/host.conf

    ??
    Not sure what the last thing is.

    If you can't ping the device then you won't be able to ssh to it either. What do you get when you ping the device. Do you use the IP address or hostname?

    Since this is really an extension of the first question why did you start a second thread?
    -BAB1

  10. #10
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 3 computers 1-1 can't talk??? SSH or Ping

    Please don't start multiple threads on the same subject, I have merged 3 of your threads.

Page 1 of 4 123 ... LastLast

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
  •