1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

scp - architecture type not detected

Discussion in 'Linux & Open Source' started by FirebarUK, 7 Mar 2006.

  1. FirebarUK

    Soldato

    Joined: 9 Dec 2004

    Posts: 5,638

    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 [email protected]:/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?