Mick wrote:

> Lares Moreau wrote:
> 
>> scp is used in the same manner you use cp. It seems that you have ssh'd
>> into your other box then are trying to scp to yourself.
> 
> Hmm, I tried just scp (without first ssh-ing into the remote box) but
> couldn't get it to work.
> 
>> try this.
>> comp1# scp root@<comp2>:/path/to/file.tar /path/to/local/
>> this will cp from <comp2> to <comp1> :)
> 
> Wey, hey!  It worked this time!!  :-D
> 
> Thank you very much!

Blast, spoke too soon.  When I tried to scp over the tar of the /var/tmp
partition it failed:
===============================
debug1: Sending command: scp -v -p -f /mnt/sda14/sda5_var.tmp
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
Sink: scp: /mnt/sda14/sda5_var.tmp: not a regular file
scp: /mnt/sda14/sda5_var.tmp: not a regular file
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 3.1 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1
===============================

What does "not a regular file" mean? :=@
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list

Reply via email to