scp - architecture type not detected

Soldato
Joined
9 Dec 2004
Posts
5,696
Location
Dorset
Hi all,

When I try to secure copy as a user other than root (login for the destination machine) it gives me the following error;

Warning architecture type not detected..

and the file doesn't copy. Verbose output looks like this;

Code:
debug1: Authentication succeeded (password).
debug1: fd 4 setting O_NONBLOCK
debug1: fd 5 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -t /tmp
debug1: channel 0: request exec
debug1: channel 0: open confirm rwindow 0 rmax 32768
Warning architecture type not detected..
debug1: channel 0: read<=0 rfd 4 len 0
debug1: channel 0: read failed
debug1: channel 0: close_read
debug1: channel 0: input open -> drain
debug1: channel 0: ibuf empty

so I'm presuming its that open confirm line, although I have no idea what it means :D

this is using the following command for example;

scp file.txt bob@bobsbox:/tmp

Using root, it works fine. Obviously not great. Thing is, it exists on 0 which according to the man pages suggests a successful transfer.

Anyone got any suggestions? I'm a bit stumped. Where does the ssh client store the scp conf files?
 
Back
Top Bottom