How to connect 2 PCs via ssh?

Asked by Vašek on 2011-01-04

I need connect two laptops (both ubuntu 10.10) for copying files only. I want use cross cable and ssh. I want use "Places - connect to server-ssh. I had install package openssh-server on both PCs. But the connection doesn't work. What I'm doing wrong?

Question information

English Edit question
Ubuntu openssh Edit question
No assignee Edit question
Last query:
Last reply:
Emre AYTAÇ (eaytac) said : #1

Please give ip for two laptops. For example;

Laptop 1:
Laptop 2:

Then try to connect using this ip addresses. Remove manual ip addresses and go back to auto ip when your job finished.

Emre AYTAÇ (eaytac) said : #2

P.S. You may need to restart ssh and networking services or reboot your laptops.

If Emre AYTAÇ's answer doesn't fix the problem or you want a less technical solution, then you will have to provide a more detailed description of what you have done so far, so that the problem can be identified. For example, what do you mean when you say the connection doesn't work? Perhaps you mean that there is no network connectivity when the computers are attached by a crossover cable, that there is network connectivity but SSH fails, or something else altogether. You might not be able to characterize the problem like that, but if you describe what you have done and what happened in detail, people should be able to help you figure it out.

You just open a terminal and run:


change IPADDRESS for the actual IP of the system and it will connect fine. The server side will need to have openssh-server installed (use software centre or use:

sudo apt-get install openssh-server

at command line to install it)

Can you help with this problem?

Provide an answer of your own, or ask Vašek for more information if necessary.

To post a message you must log in.