Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got two computers both running Ubuntu and i want to connect them into a LAN so i can ssh from the one into the another - i know how to do the ssh configuration part, i just don't know how to connect them - i put the cable but nothing happened.

Please tell me what needs to be done.

share|improve this question
Do you have a router? – Bobby Apr 28 '10 at 14:07
What version of ubuntu are you using? – Oliver Friedrich Apr 28 '10 at 14:29

If you are trying to connect the computers together without a switch or hub, you will need a crossover cable. You should be able to get one at your local electronics parts house.

share|improve this answer
If you are going to use a crossover cable or a hub, you'll need to assign static IP addresses to each computer, because usually when you hook two machines up directly there is no DHCP server to hand out addresses. – Millhouse Apr 28 '10 at 15:13
Modern NICs will work with a simple cable too when being directly connected, but the advice about getting a crossover is wise and safe. – geek Apr 28 '10 at 15:34
Good points both. I presumed the OP would know about assigning IPs due to his statement about SSH configurations. Also, from my experience with Linux users, most are utilizing older equipment that may or may not have more modern NICs. – Sarge Apr 28 '10 at 17:10

You must log in to answer this question.