9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lyndon Nerenberg <lyndon@orthanc.ca>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] SSHv2 and scp
Date: Mon,  2 Apr 2012 20:48:05 -0700	[thread overview]
Message-ID: <35240343-FA75-4652-97F2-7ED2AD486AEC@orthanc.ca> (raw)

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	other threads:[~2012-04-03  3:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03  3:48 Lyndon Nerenberg [this message]
2012-04-03 18:14 ` geoff
2012-04-04  4:21   ` Lucio De Re
2012-04-04  4:29     ` David Leimbach
2012-04-04  4:43       ` Lucio De Re
     [not found]     ` <CAJJ04x4MEW8G=geSOsZ4CgoDeDC6seUtJ7k11R11nUue4W-xTA@mail.gmail.c>
2012-04-04 12:42       ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=35240343-FA75-4652-97F2-7ED2AD486AEC@orthanc.ca \
    --to=lyndon@orthanc.ca \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).