How to connect 2 PCs via ssh?

Asked by Vašek

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

Language:
English Edit question
Status:
Answered
For:
Ubuntu openssh Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Emre AYTAÇ (eaytac) said :
#1

Please give ip for two laptops. For example;

Laptop 1: 192.168.1.2
Laptop 2: 192.168.1.3

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

Revision history for this message
Emre AYTAÇ (eaytac) said :
#2

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

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#3

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.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

You just open a terminal and run:

ssh IPADDRESS

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.