Linux box, ssh, local network

Discussion in 'Site & Server Administration' started by splatcatballa99, Oct 27, 2007.

  1. #1
    Ok I have a local network setup at my house, I have a linux box, I want to connect to it through SSH. The questions I have are

    -How do I find out the IP of that specific computer.
    -What port do I connect through after I find the ip.
     
    splatcatballa99, Oct 27, 2007 IP
  2. jdg

    jdg Peon

    Messages:
    46
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2

    On the linux box type in: ifconfig
    It will spit out a bunch of lines related to eth0, etc.

    Look for the line that says something like:
    inet 192.168.2.13 netmask 0xffffffc0 broadcast 192.168.2.255

    That first set of numbers following 'inet' (in this case: 192.168.2.13) is the IP address.

    SSH runs on port 22.
     
    jdg, Oct 27, 2007 IP
  3. splatcatballa99

    splatcatballa99 Well-Known Member

    Messages:
    400
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    #3
    ok well my linux box can't get internet for some reason.
    I went into system administration and went ot networks, It detects my ethernet cable I go to activate it and it says
    /etc/sysconfig/network-scripts/network-functions: line78 no such file or directory.
     
    splatcatballa99, Oct 27, 2007 IP
  4. jdg

    jdg Peon

    Messages:
    46
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    :\

    Sorry, don't know how to help you any further. :(
     
    jdg, Oct 27, 2007 IP
  5. splatcatballa99

    splatcatballa99 Well-Known Member

    Messages:
    400
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    #5
    It's ok :)
     
    splatcatballa99, Oct 27, 2007 IP
  6. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Are you sure the subnet mask and port, device etc. are correctly configured?
     
    inworx, Oct 29, 2007 IP
  7. splatcatballa99

    splatcatballa99 Well-Known Member

    Messages:
    400
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    #7
    Yes, It's detecting the Ethernet but the connect file is erroring out.
     
    splatcatballa99, Oct 29, 2007 IP