Re: ssh

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: KevinO
Date:  
To: plug-discuss
Subject: Re: ssh
On 02/16/2012 11:12 AM, Michael Havens wrote:
> I'm using fsarchiver to backup a computer. I don't have enough diskspace
> for the archive. I can ssh to another computer. I know which directory I
> want to save it in but I don't know how to write the file directly to it. I
> tried it with a pipe and I tried it with a greater-than sign. Pray-tell!
> how is it done?
>

man scp

in a nutshell:

$ scp -r path_to_dir_here [username]@machine:/path_to_destination

it will prompt for an ssh password, if needed.

--
KevinO
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss