That works if the target server allows for ssh shell logins. Many are restricted to only sftp, which means that neither ssh remote command or scp will work.
Kirk Wolf Dovetailed Technologies, LLC http://coztoolkit.com Dovetailed Technologies: +1 636.300.0901 Note: Our website and domain name have changed from dovetail.com to coztoolkit.com On Thu, Sep 1, 2022, at 11:06 AM, Paul Gilmartin wrote: > On Thu, 1 Sep 2022 07:33:57 -0700, Tom Brennan wrote: > > ... > >But like you say (and if nothing has changed over the years), you need > >to setup keys. > > > Ssh-keygen makes it easy. The keys are stored as text files. It ought > to be possible to Copy from a Vista OMVS window and Paste to > a Linux xterm ssh window. > > >And sftp only worked with USS files so an OCOPY or > >similar was needed for z/OS datasets, and some temp USS space. > > > How about: > /bin/cp [options] "//'MVS.DATA.SET(MEMBER)'" | ssh -f Tom@Linux "cat > >Linux.file" > > Unconditional IBM-1047 -> ISO8859-1 conversion. If you want it not to do > that, insert > an iconv filter on the z/OS end. > > Or try to get Purchasing to approve Co:Z. > > -- > gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN