Re: SFTP question

2022-09-01 Thread Paul Gilmartin
On Thu, 1 Sep 2022 12:11:07 -0700, Tom Brennan wrote: > >... But I tended to avoid using a 3270 >OMVS connection on USS ... > So flattery gets me nowhere? >I didn't know you could do that with streams across ssh - pretty >interesting! > >On 9/1/2022 9:06 AM, Paul Gilmartin wrote: >>> >> How

Re: SFTP question

2022-09-01 Thread Kirk Wolf
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

Re: SFTP question

2022-09-01 Thread Tom Brennan
Yes, it's easy to copy/paste a text key using a terminal emulator and then vi or whatever on the target. But I tended to avoid using a 3270 OMVS connection on USS and instead almost always connected to the mainframe using SSH. So in my case that would have been a PuTTy to PuTTy copy/paste, us

Re: SFTP question

2022-09-01 Thread Paul Gilmartin
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 xte

Re: SFTP question

2022-09-01 Thread Kirk Wolf
Thanks for mentioning. Here's an example: //SFTPCONN EXEC PROC=SFTPPROC //SFTPIN DD * pwdsn="COZUSER.COZ.SAMPJCL(PW)" user=myuser host=myhost lzopts="mode=text" rdir="/app/data/" rfile="remotefile.txt" . $script_dir/sftp_connect.s

Re: SFTP question

2022-09-01 Thread rpinion865
Nobody has mentioned Coz from https://coztoolkit.com Sent with Proton Mail secure email. --- Original Message --- On Thursday, September 1st, 2022 at 10:33 AM, Tom Brennan wrote: > On 9/1/2022 12:05 AM, Paul Gilmartin wrote: > > > Might be possible with either BPXPATCH or BPXWUNIX

Re: SFTP question

2022-09-01 Thread Tom Brennan
On 9/1/2022 12:05 AM, Paul Gilmartin wrote: Might be possible with either BPXPATCH or BPXWUNIX. Set up your public-private keypairs on z/OS with ssh-keygen and copy the public key to Linux. Yes, that's what I used to do. Something like this: //SFTP EXEC PGM=BPXBATCH,REGION=8M, // PARM='SH s

Re: SFTP question

2022-09-01 Thread kekronbekron
Whoops, thanks for educating me. - KB --- Original Message --- On Thursday, September 1st, 2022 at 6:25 PM, Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On Thu, 1 Sep 2022 10:29:09 +, kekronbekron wrote: > > > I recently came across zdsfs > > (https://

Re: SFTP question

2022-09-01 Thread Paul Gilmartin
On Thu, 1 Sep 2022 10:29:09 +, kekronbekron wrote: > >I recently came across zdsfs >(https://www.ibm.com/docs/en/linux-on-systems?topic=c-zdsfs-2). > ITYM . >Just from a brief look, it appears to provide direct access to zOS disks.

Re: SFTP question

2022-09-01 Thread kekronbekron
Hi, I recently came across zdsfs (https://www.ibm.com/docs/en/linux-on-systems?topic=c-zdsfs-2). Just from a brief look, it appears to provide direct access to zOS disks. Will help avoid transfers and duplicate data. DSFS might well be the child of zdsfs, just from the name. - KB --- Origin

Re: SFTP question

2022-09-01 Thread Paul Gilmartin
On 8/31/22 23:45:20, Peter wrote: > Cross posted > Which groups? IBM-MAIN and MVS-OE? > I am trying to send dataset to a Linux server which has a SFTP running on > it. Is it possible to connect the Linux servers SFTP using mainframe JCL to > put or get the file from Linux ? Might be possible wi

SFTP question

2022-08-31 Thread Peter
Hello Cross posted I am trying to send dataset to a Linux server which has a SFTP running on it. Is it possible to connect the Linux servers SFTP using mainframe JCL to put or get the file from Linux ? Peter -- For IBM-MAIN sub