9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] SSHv2 and scp
@ 2012-04-03  3:48 Lyndon Nerenberg
  2012-04-03 18:14 ` geoff
  0 siblings, 1 reply; 6+ messages in thread
From: Lyndon Nerenberg @ 2012-04-03  3:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-04 12:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03  3:48 [9fans] SSHv2 and scp Lyndon Nerenberg
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

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).