Article View: comp.security.ssh
Article #24Re: z/os scp expects text files? I thought scp was binary only?
From: User1001
Date: Sat, 25 Feb 2006 06:51
Date: Sat, 25 Feb 2006 06:51
26 lines
2543 bytes
2543 bytes
I don't have a precise technical answer for you but here are some observations that I can offer: 1) If the OS/390 SSH is "OpenSSH", it should be the IBM implementation that they fully support and not the "hacked research version" before it, which croaked on null (0x00) bytes 2) OS/390 (and z/OS, its successor) use EBCDIC not ASCII, so there is often a character set translation problem; from experience, I have found that files compressed in one character set don't always decompress (well) under another; I have to ungzip gzip'ed files in z/OS USS (Unix System Services) before I can download them with SCP or the target file winds up a soup of binary goulash Workaround: uncompress the file(s) before SCP'ing them to OS/390. On Fri, 24 Feb 2006 15:02:20 -0800, tonij67 wrote: [snip] > been having problems in that every time we send a ZIP file to this z/os > system, they are unable to decompress it. i.e. its corrupted. [snip] > verison of SSH they are running and they told me that scp expects all > files to be text, so the only way for this to work is for us to use > sftp instead of scp. [snip]
Technical Details
Message-ID:
<pan.2006.02.25.06.51.43.384220@globaleyes.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.ll.net!news.ll.net.POSTED!not-for-mailReferences:
<1140822140.499560.206740@e56g2000cwe.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 109d1b,3fdb708d1ca68a22 X-Google-Thread: fd4af,3fdb708d1ca68a22 X-Google-Attributes: gid109d1b,gidfd4af,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.ll.net!news.ll.net.POSTED!not-for-mail NNTP-Posting-Date: Sat, 25 Feb 2006 00:51:43 -0600 From: User1001 <supraexpress@globaleyes.net> Subject: Re: z/os scp expects text files? I thought scp was binary only? Date: Sat, 25 Feb 2006 00:51:43 -0600 User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) Message-ID: <pan.2006.02.25.06.51.43.384220@globaleyes.net> Newsgroups: comp.security.ssh,bit.listserv.ibm-main References: <1140822140.499560.206740@e56g2000cwe.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Lines: 26 NNTP-Posting-Host: 209.131.254.237 X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-PJMIrjZZ5Bta6zrzDsu0wQgZdUECK/oAsy1albLi5pggAZLREy6opcwT4HiFF94OJRq2wdn5gDdRW29!zF4wpkrjYhlHL/lXsbaSt4oEDq8PnWLQ2eoBWoXjTkeBwM7eCP1JFkYX0iQHznNgrGZM/9P0g6WJ!RW/Es9KBdA== X-Complaints-To: abuse@ll.net X-DMCA-Complaints-To: abuse@ll.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32