From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lyndon Nerenberg Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 2 Apr 2012 20:48:05 -0700 Message-Id: <35240343-FA75-4652-97F2-7ED2AD486AEC@orthanc.ca> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Mime-Version: 1.0 (Apple Message framework v1084) Subject: [9fans] SSHv2 and scp Topicbox-Message-UUID: 750cb84a-ead7-11e9-9d60-3106f5b1d025 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.