View Single Post
Old 07-30-10, 11:06 AM   #2
pross's Avatar
Join Date: Mar 2007
Posts: 183
Default Re: Openssh - my next project

ssh is easy really. Assuming your hostnames are 'laptop' and 'desktop' for example:

from your laptop...

#ssh grey_1@desktop .. this will open a shell on the desktop, from the laptop.

to copy a file from the desktop to the laptop:

#scp grey_1@laptop

If your usernames are the same on both machines you wont need the username.

Thats the basics, if you want to make it passwordless you will have to make some keys and put them in the .ssh folder on both machines, there are plenty of tutorials available.
CPU: i7 2600k @ 4.4Ghz GPU: GTX 560ti 2G SLI PPU: GTX260 RAM: 16G Corsair Vengeance MOBO: P8Z68-V PRO GEN3 BOX: Cosmos S Cooling: Corsair H100 SSD: Corsair 120G ForceGT
pross is offline   Reply With Quote