Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

On my pair of Ubuntu systems, a 3 MB file transfer via Nautilus 2.32 over SSH takes about 15 seconds between two computers with identical wireless cards 2 meters apart.

Larger files take significantly longer, so the 15 seconds is not dominated by handshaking. This data rate seems unsatisfactory and obviously it would get worse if I were concurrently using the wireless cards for internet access.

I have a 20 meter (About 65 feet) Ethernet cable, coiled down to 2 meters, between the two computers but that physical medium is probably not being used for SSH because when I disable wireless, each Nautilus cannot see the other machine.

How do I setup SSH for the Ethernet cable exclusively?

share|improve this question
Sounds like a)the default route isn't getting updated, b)you need to use the ethernet IP address since it's thinking the wireless one is unreachable, or c)you need policy routing to match on the port number. – RobotHumans Mar 10 '12 at 10:29
Is the cable plugged directly from one computer to another? you may need a switch between the computers, or a "crossover adapter" – Mateo Aug 13 '12 at 23:42
Close-voters: This has an answer now, so there's no longer a reason to close it as abandoned/TL. – Eliah Kagan Jan 30 '13 at 3:36

Create your own small network

Make up a nice small subnet in the private IP space, e.g. This is for 254 hosts, and overkill, but it's easy in calculation and entering details.

I'm assuming you have either a switch connected between the two or using a network cable that is suitable for your two PCs to be connected to each other directly. Most modern network cards feature Auto MDI/MDIX, so no need for a crossover cable.

Below is a list of steps to have PC1: and PC2:

On PC1

  1. Go to Edit connections.

    enter image description here

  2. Add a new connection.

    enter image description here

  3. Fill in a name, e.g. Cross-cable connection

  4. Select the right interface from the "Device MAC address field":

    enter image description here

  5. Then on the IPv4 Settings tab, add the following details and take the steps as shown in the image.

    • Method: Manual
    • Address:
    • Netmask: 24
    • Gateway: (this means 'none' in IPv4)

    enter image description here

  6. Establish the connection using the network menu:

    enter image description here

On PC2

Follow the same steps, on one exception: enter as IP address.

Now, you should be able to 'ping' PC1 from PC2:

ping -c3
PING ( 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=64 time=0.661 ms

And establish a connection with Nautlius using the IP addresses we just assigned.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.