Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: ssh and tar combined?
Date: Wed, 28 Dec 2005 07:34:09
Message-Id: dotesj$nma$1@sea.gmane.org
In Reply to: [gentoo-user] Re: ssh and tar combined? by Mick
1 Mick wrote:
2
3 > Lares Moreau wrote:
4 >
5 >> scp is used in the same manner you use cp. It seems that you have ssh'd
6 >> into your other box then are trying to scp to yourself.
7 >
8 > Hmm, I tried just scp (without first ssh-ing into the remote box) but
9 > couldn't get it to work.
10 >
11 >> try this.
12 >> comp1# scp root@<comp2>:/path/to/file.tar /path/to/local/
13 >> this will cp from <comp2> to <comp1> :)
14 >
15 > Wey, hey! It worked this time!! :-D
16 >
17 > Thank you very much!
18
19 Blast, spoke too soon. When I tried to scp over the tar of the /var/tmp
20 partition it failed:
21 ===============================
22 debug1: Sending command: scp -v -p -f /mnt/sda14/sda5_var.tmp
23 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
24 Sink: scp: /mnt/sda14/sda5_var.tmp: not a regular file
25 scp: /mnt/sda14/sda5_var.tmp: not a regular file
26 debug1: channel 0: free: client-session, nchannels 1
27 debug1: fd 0 clearing O_NONBLOCK
28 debug1: fd 1 clearing O_NONBLOCK
29 debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 3.1 seconds
30 debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
31 debug1: Exit status 1
32 ===============================
33
34 What does "not a regular file" mean? :=@
35 --
36 Regards,
37 Mick
38
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: ssh and tar combined? "Mariusz Pękala" <skoot@××.pl>