View Single Post
Old 07-30-10, 12:06 PM   #2
pross
 
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 myfile.zip 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