scp seems a bit unhappy with the new ssh as well. Single file copies work in 
both directions, and copying multiple files to plan9 works, but copying 
multiple files from plan9 to remote unix systems barfs:

: lyndon@gandalf:/sys/src/cmd/unix/u9fs; lc
LICENSE                 convM2S.c               fcall.h                 print.c 
                strecpy.c               utfrune.c
authnone.c              convS2M.c               fcallconv.c             
random.c                sun-inttypes.h
authp9any.c             cygwin.c                makefile                readn.c 
                tokenize.c
authrhosts.c    des.c                   oldfcall.c              remotehost.c    
u9fs.c
convD2M.c               dirmodeconv.c   oldfcall.h              rune.c          
        u9fs.h
convM2D.c               doprint.c               plan9.h                 
safecpy.c               u9fsauth.h
: lyndon@gandalf:/sys/src/cmd/unix/u9fs; scp -v * legolas:src/u9fs
gandalf: remote destination: send LICENSE to legolas:src/u9fs
gandalf: remotessh: legolas: scp -d -v -t src/u9fs
scp: unexpected response character 0x75
Connection closed by server
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
: lyndon@gandalf:/sys/src/cmd/unix/u9fs; EOF on client side
scp -v * treebeard:src/u9fs
gandalf: remote destination: send LICENSE to treebeard:src/u9fs
gandalf: remotessh: treebeard: scp -d -v -t src/u9fs
scp: unexpected response character 0x55
Connection closed by server
Usage: scp [-pqrvBC46] [-F config] [-S program] [-P port]
: lyndon@gandalf:/sys/src/cmd/unix/u9fs; EOF on client side

legolas is running FreeBSD 9.0; treebeard is OpenSolaris snv_b134, so the 
target ssh implementations are quite different. Sometimes the "unexpected 
character" comes back as 0x63.



Reply via email to