Re: TSO Setup on SSH

2016-12-12 Thread Jack J. Woehr
Paul Gilmartin wrote: No "walls", just pitfalls. Should I submit an SR about the "script" glory hole? Possibly. Venkat cannot be the only person to run up against the limitation of TN3270 sessions presenting no ptty. I've experienced it. But I did give him what might be a workaround to try:

Re: TSO Setup on SSH

2016-12-12 Thread Paul Gilmartin
On Mon, 12 Dec 2016 00:14:24 -0700, Jack J. Woehr wrote: > >It must be somehow doable to use a password, but it certainly wasn't the >architectural intent of the IBM developers. >The difference between 3270 and Unix-style ttys is too great. >Furthermore SSH experts inside and outside IBM view pass

Re: TSO Setup on SSH

2016-12-12 Thread Jack J. Woehr
venkat kulkarni wrote: I do agree that we should be using password less, but as suggested earlier that apart from public key, we can also use password verify way to authentication. So, I want to try this to complete this activity . If it's just for testing, maybe this would work for you: * ss

Re: TSO Setup on SSH

2016-12-11 Thread venkat kulkarni
Hello, I do agree that we should be using password less, but as suggested earlier that apart from public key, we can also use password verify way to authentication. So, I want to try this to complete this activity . Currently I am using below JCL, //SFTP001 JOB ACCT,NAME,CLASS=A,MSGCLASS=A,NOT

Re: TSO Setup on SSH

2016-12-11 Thread Jack J. Woehr
venkat kulkarni wrote: All worked well. So, we are currently using password less method for authentication. But, incase if we want to use password method to authenticate to the system then what are all change we need to make. "The fourth usage format (( sftp -b batchfile [user@]host )) allows fo

Re: TSO Setup on SSH

2016-12-11 Thread venkat kulkarni
All worked well. So, we are currently using password less method for authentication. But, incase if we want to use password method to authenticate to the system then what are all change we need to make. Thank to all for help. On Dec 11, 2016 22:59, "Jack J. Woehr" wrote: venkat kulkarni wrote:

Re: TSO Setup on SSH

2016-12-11 Thread Jack J. Woehr
venkat kulkarni wrote: sftp> put /home/ibm08/ You can't put a directory. You can cd into the directory and mput * ... ('mput' means 'multiple put') Check your documentation whether SFTP still has the old FTP 'prompt' command so that it doesn't ask for interactive confirmation on each fi

Re: TSO Setup on SSH

2016-12-11 Thread venkat kulkarni
Hello, I have success in authentication between mainframe and target system. The problem was, that the RSA.pub key i copied from Mainframe to target system was corrupt and because of this handshake was not happening correctly. Now I am getting below error while running JCL, //SFTP001 JOB ACCT,NA

Re: TSO Setup on SSH

2016-12-11 Thread Paul Gilmartin
On Sun, 11 Dec 2016 08:26:28 +0300, venkat kulkarni wrote: > >1)connect zos using ssh was working fine from putty but when I try from USA >to do ssh to ssh -v 127.0.0.1 then after it was to confirm me to continue >and I reply yes then at last it says password may not be entered from 3270 >console.

Re: TSO Setup on SSH

2016-12-11 Thread Bigendian Smalls
Have you tried running the daemon in foreground/debug mode to see what it's trying to do and failing on? You can run the client also with debug messages, if necessary. This solves 99% of my wonky ssh issues. sshd -dd -D -f /your-sshd-file Chad > On Dec 11, 2016, at 05:25, venkat kulkarni

Re: TSO Setup on SSH

2016-12-11 Thread venkat kulkarni
Hello Jack, I tried that well and whole running batch file mentioned in open ssh user guide i get permission issue #Sftp -b batch file ibm08@10.128.234.43 FOTS1379 PERMISSION issue denied(public key,passworD,keyboard inter) FOTS0841 CONNECTOOB CLOSED. On Dec 11, 2016 13:42, "Jack J. Woehr" wrote

Re: TSO Setup on SSH

2016-12-11 Thread Jack J. Woehr
venkat kulkarni wrote: After your all suggestion, I tried couple of things. I think that now you only confusing yourself, having tried so many things. That is an easy thing to happen on z/OS. I myself recently experienced a wave of confusion about RACF and have only just recovered! Here is w

Re: TSO Setup on SSH

2016-12-10 Thread venkat kulkarni
Hello, After your all suggestion, I tried couple of things. 1)connect zos using ssh was working fine from putty but when I try from USA to do ssh to ssh -v 127.0.0.1 then after it was to confirm me to continue and I reply yes then at last it says password may not be entered from 3270 console. 2)

Re: TSO Setup on SSH

2016-12-07 Thread Timothy Sipples
Venkat Kulkarni wrote: >I should use SSL 992 port and with self signed certificate to enable SSL on >tso. Please correct me , if I am going in wrong direction. I should have replied to your comment earlier, but better delayed than never. I recommended using a well managed, unexpired server certif

Re: TSO Setup on SSH -- password security

2016-12-07 Thread Paul Gilmartin
On Wed, 7 Dec 2016 12:40:30 -0600, Kirk Wolf wrote: > >But:starting in z/OS P.T. OpenSSH 1.3 (HOS1130), you *can* use ssh, >sftp, scp from a 3270 OMVS shell - you just can't prompt the terminal for a >password or passphrase since it is not a real tty and OpenSSH requires tty >password masking.

Re: TSO Setup on SSH

2016-12-07 Thread Kirk Wolf
Gil, This is a good suggestion (start with a z/OS ssh shell session, where password prompts work). I very rarely use the TSO OMVS shell. But:starting in z/OS P.T. OpenSSH 1.3 (HOS1130), you *can* use ssh, sftp, scp from a 3270 OMVS shell - you just can't prompt the terminal for a password o

Re: TSO Setup on SSH

2016-12-07 Thread Paul Gilmartin
On Wed, 7 Dec 2016 10:58:02 +0530, venkat kulkarni wrote: >Hello John, >Sorry for delay in response and I tried the JCL you suggest for sftp >transfer but getting below issue on job output > >debug1: Authentications that can continue: >publickey,password,keyboard-interacti > First, partition the

Re: TSO Setup on SSH

2016-12-07 Thread Kirk Wolf
FWIW, a very interesting way to authenticate z/OS OpenSSH sessions is using Kerberos (perhaps with Windows Active Directory). z/OS provides Kerberos as part of its free feature " z/OS Network Authentication Service", and this is compatible with a Windows Active Directory domain and MIT Kerberos on

Re: TSO Setup on SSH

2016-12-07 Thread Kirk Wolf
On Wed, Dec 7, 2016 at 9:41 AM, John McKown wrote: > On Wed, Dec 7, 2016 at 9:37 AM, Kirk Wolf wrote: > > > With openssh ssh or sftp commands, a password (or pass phrase) has to > > either be read from a tty or you can use an SSH_ASKPASS program. You > > can't pipe it in as suggested earlier i

Re: TSO Setup on SSH

2016-12-07 Thread John McKown
On Wed, Dec 7, 2016 at 9:37 AM, Kirk Wolf wrote: > With openssh ssh or sftp commands, a password (or pass phrase) has to > either be read from a tty or you can use an SSH_ASKPASS program. You > can't pipe it in as suggested earlier in this script. > ​Do you have an example of using SSH_ASKPASS

Re: TSO Setup on SSH

2016-12-07 Thread Kirk Wolf
With openssh ssh or sftp commands, a password (or pass phrase) has to either be read from a tty or you can use an SSH_ASKPASS program. You can't pipe it in as suggested earlier in this script. Kirk Wolf Dovetailed Technologies http://dovetail.com PS> examples of using passwords in batch / jcl s

Re: TSO Setup on SSH

2016-12-07 Thread Jack J. Woehr
John McKown wrote: My apologies. I had forgotten that I had everything set up properly to do a "password-less" ssh connection to my test Linux box. Venkat should also pull the password line out of the JCL if he's going to use public key. -- Jack J. Woehr # Science is more than a body of k

Re: TSO Setup on SSH

2016-12-07 Thread Jack J. Woehr
venkat kulkarni wrote: Then I also run below command sftp -v -b -op117@10.221.129.10 from USS and got similar error, If you're doing it interactively, do NOT use the "-b -" switch. Just sftp -v op117@10.221.129.10 Also, do you have a target host you can ssh to? Are you successful perfo

Re: TSO Setup on SSH

2016-12-07 Thread John McKown
OK, I made a mistake in my testing. On my z/OS system, I have the file: ~/.ssh/id_rsa . This file contains the SSH key for my test Linux system, which I was using in my testing. I had overlooked this when I was testing my script. This SSH file was created _without_ a passphrase; specifically so tha

Re: TSO Setup on SSH

2016-12-07 Thread venkat kulkarni
I have cross verified about all directory and files permission you suggested earlier. z/OS USS side drwx-- 2 MEAS OMVSGRP 8192 Dec 6 01:47 .ssh -rw--- 1 MEAS OMVSGRP 668 Dec 6 01:47 id_dsa -rw-r--r-- 1 MEAS OMVSGRP 603 Dec 6 01:47 id_dsa.pub -rw-r--

Re: TSO Setup on SSH

2016-12-07 Thread Jack J. Woehr
venkat kulkarni wrote: To provide you move detail, I earlier copied id_dsa.pub key from mainframe to target host authorized_keys file. So, in place of id_dsa.pub key, will it make difference, if we copy id_dsa key to target host. No, that wouldn't help. The public key is what is needed in the

Re: TSO Setup on SSH

2016-12-07 Thread venkat kulkarni
No, didn't work. Same issue as earlier. I don't know why it's not accepting password mentioned in JCL for login to target host. To provide you move detail, I earlier copied id_dsa.pub key from mainframe to target host authorized_keys file. So, in place of id_dsa.pub key, will it make difference,

Re: TSO Setup on SSH

2016-12-07 Thread Jack J. Woehr
venkat kulkarni wrote: This time I run with -b - -v option and error are as below. Try reversing the options. I think -v has to be earlier. Do: -v -b - -- Jack J. Woehr # Science is more than a body of knowledge. It's a way of www.well.com/~jax # thinking, a way of skeptically interro

Re: TSO Setup on SSH

2016-12-07 Thread venkat kulkarni
This time I run with -b - -v option and error are as below. debug1: identity file /u/ibm08/.ssh/id_rsa-cert type -1 debug1: identity file /u/ibm08/.ssh/id_dsa type 2 debug1: identity file /u/ibm08/.ssh/id_dsa-cert type -1 debug1: identity file /u/ibm08/.ssh/id_ecdsa type -1 debug1: identity fi

Re: TSO Setup on SSH

2016-12-07 Thread Jack J. Woehr
venkat kulkarni wrote: FOTS0806 EDC5129I No such file or directory. (errno2=0x05620062) (-v) Yes, not: sftp -b -v .. but rather sftp -b - -v .. I pointed out my mistake typing the first message The flag is "-b -". -b expects a file argument. The extra dash "-" means "the f

Re: TSO Setup on SSH

2016-12-07 Thread venkat kulkarni
Hello Jack, I run JCL with your suggestion and this time I am getting below error. /SFTP001 JOB ACCT,NAME,CLASS=A,MSGCLASS=A,NOTIFY=&SYSUID //SFTP EXEC PGM=IKJEFT01,REGION=0M //SYSTSPRT DD SYSOUT=* //SYSEXEC DD DISP=SHR,DSN=SYS1.SBPXEXEC //SYSTSIN DD * OPUT 'IBM08.TEST.DATA' '/u/i

Re: TSO Setup on SSH

2016-12-06 Thread Jack J. Woehr
Jack J. Woehr wrote: OOPS mistake should be this: sftp -b - -v use...@remote.ssh.server Note the "-" after the "-b" before the "-v" I did it right below \/\/\/\/\/\/ The "-b - " tells sftp to read in batch mode from standard in. That might work. -- Jack J. Woehr # Science is mo

Re: TSO Setup on SSH

2016-12-06 Thread Jack J. Woehr
venkat kulkarni wrote: Venkat ... in this part of the JCL: OSHELL { echo 'password'; + > echo 'cd /tmp'; + > echo 'ascii'; + > echo 'put/tmp/SOME.FILE.NAME '; } | + >sftp -vuse...@remote.ssh.server Try changing the last line to this:

Re: TSO Setup on SSH

2016-12-06 Thread venkat kulkarni
Hello Jack, thanks for reply. John, can you please help in answering query raised by back on the JCL you provided for this sftp. On Dec 7, 2016 10:42, "Jack J. Woehr" wrote: > venkat kulkarni wrote: > >> Yes but if you look at Job output and it's tries to authenticate using >> public key , pass

Re: TSO Setup on SSH

2016-12-06 Thread Jack J. Woehr
venkat kulkarni wrote: Yes but if you look at Job output and it's tries to authenticate using public key , password , interactive but all failing. I sent you job out in earlier response. That's always the way an ssh connection is established (unless you use args to prevent it). ssh and scp an

Re: TSO Setup on SSH

2016-12-06 Thread venkat kulkarni
Yes but if you look at Job output and it's tries to authenticate using public key , password , interactive but all failing. I sent you job out in earlier response. Regards On Dec 7, 2016 09:14, "Jack J. Woehr" wrote: > venkat kulkarni wrote: > >> ... I tried to solve this key issue but no succe

Re: TSO Setup on SSH

2016-12-06 Thread venkat kulkarni
Hello, Yes .ssh Dir on target host is 700 and authorized_keys file is 600 permission . To give you more detail in created authorized _keys file in target system by copying id_dsa.pub file from z/os side of .ssh directory under my user name home directory. But I am still getting same issue On De

Re: TSO Setup on SSH

2016-12-06 Thread Jack J. Woehr
venkat kulkarni wrote: ... I tried to solve this key issue but no success so far. Please suggest. Excuse my previous response, looks like you're trying to authenticate with password instead of keys. -- Jack J. Woehr # Science is more than a body of knowledge. It's a way of www.well.com/~j

Re: TSO Setup on SSH

2016-12-06 Thread Jack J. Woehr
venkat kulkarni wrote: Sorry for delay in response and I tried the JCL you suggest for sftp transfer but getting below issue on job output Make sure the target .ssh directory (where the authorized_keys file is) is chmod 700 and the authorized_keys file itself is chmod 600. -- Jack J. Woehr

Re: TSO Setup on SSH

2016-12-06 Thread venkat kulkarni
Hello John, Sorry for delay in response and I tried the JCL you suggest for sftp transfer but getting below issue on job output debug1: Authentications that can continue: publickey,password,keyboard-interacti debug1: Next authentication method: publickey debug1: Trying private key: /u/ibm08/.ssh

Re: TSO Setup on SSH

2016-12-02 Thread David Crayford
AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: TSO Setup on SSH Hello David, yes I am aware that sftp process only Unix files but I heard that we have other of transferring traditional mvs dataset like we can first transfer mvs dataset to omvs and then do sftp. But I never did this before, so I am

Re: TSO Setup on SSH

2016-12-01 Thread Paul Gilmartin
On Thu, 1 Dec 2016 10:16:10 -0600, John McKown wrote: >Damn it, forgot to make one change in the command stream. > I wonder, did the OP get secure tn3270 working. Then, much as I hate to recommend it to anyone, would IND$FILE provide a solution? Is IND$FILE UNIX-file-savvy? Here's my approach,

Re: TSO Setup on SSH

2016-12-01 Thread John McKown
Damn it, forgot to make one change in the command stream. //JOBNAME JOB ACCT,NAME,CLASS=A,MSGCLASS=H, // NOTIFY=&SYSUID //SFTP EXEC PGM=IKJEFT01,REGION=0M //SYSTSPRT DD SYSOUT=* //SYSEXEC DD DISP=SHR,DSN=SYS1.SBPXEXEC (MAY BE DIFFERENT) //SYSTSIN DD * OPUT 'SOME.DATA.SET.NAME

Re: TSO Setup on SSH

2016-12-01 Thread Mullen, Patrick
use the product free of charge under their community license. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of venkat kulkarni Sent: Thursday, December 01, 2016 12:19 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: TSO Setup on SSH

Re: TSO Setup on SSH

2016-12-01 Thread John McKown
On Wed, Nov 30, 2016 at 11:14 PM, venkat kulkarni < venkatkulkarn...@gmail.com> wrote: > Do anybody have sample batch job to transfer data using sftp. > > Currently we using FTP in batch job PGM but not sure what program we should > use for sftp and format of JCL to transfer sequential and PDs da

Re: TSO Setup on SSH

2016-11-30 Thread Paul Gilmartin
On Thu, 1 Dec 2016 12:19:53 +0530, venkat kulkarni wrote: > >So, we have requirement of sending and receiving files of mainframe and >windows as well as Unix systems. >So, we need to setup JCL in z/os system in such a way the one JCL will be >used for sending data can be sequential or PDs datasets

Re: TSO Setup on SSH

2016-11-30 Thread Paul Gilmartin
On Wed, 30 Nov 2016 23:37:24 -0700, Jack J. Woehr wrote: >Paul Gilmartin wrote: >> But must it be JCL? Why not a UNIX shell script or Rexx, putting you a >> couple interface layers closer to what you need to do. > >CMS/TSO Pipelines? > How prevalent is CMS/TSO Pipelines in z/OS? Does it have an

Re: TSO Setup on SSH

2016-11-30 Thread venkat kulkarni
Thanks for reply. So, we have requirement of sending and receiving files of mainframe and windows as well as Unix systems. So, we need to setup JCL in z/os system in such a way the one JCL will be used for sending data can be sequential or PDs datasets to Windows mainframe or receiving file from W

Re: TSO Setup on SSH

2016-11-30 Thread Jack J. Woehr
Paul Gilmartin wrote: But must it be JCL? Why not a UNIX shell script or Rexx, putting you a couple interface layers closer to what you need to do. CMS/TSO Pipelines? -- Jack J. Woehr # Science is more than a body of knowledge. It's a way of www.well.com/~jax # thinking, a way of skeptica

Re: TSO Setup on SSH

2016-11-30 Thread Paul Gilmartin
On Thu, 1 Dec 2016 10:44:42 +0530, venkat kulkarni wrote: >Do anybody have sample batch job to transfer data using sftp. > >Currently we using FTP in batch job PGM but not sure what program we should >use for sftp and format of JCL to transfer sequential and PDs datasets. > SFTP won't deal with

Re: TSO Setup on SSH

2016-11-30 Thread venkat kulkarni
Hello David, yes I am aware that sftp process only Unix files but I heard that we have other of transferring traditional mvs dataset like we can first transfer mvs dataset to omvs and then do sftp. But I never did this before, so I am requesting to help on sample JCL. On Dec 1, 2016 09:13, "David

Re: TSO Setup on SSH

2016-11-30 Thread David Crayford
On 1/12/2016 1:14 PM, venkat kulkarni wrote: Do anybody have sample batch job to transfer data using sftp. Currently we using FTP in batch job PGM but not sure what program we should use for sftp and format of JCL to transfer sequential and PDs datasets. sftp only supports UNIX files so you'r

Re: TSO Setup on SSH

2016-11-30 Thread venkat kulkarni
Do anybody have sample batch job to transfer data using sftp. Currently we using FTP in batch job PGM but not sure what program we should use for sftp and format of JCL to transfer sequential and PDs datasets. Thnaks On Nov 29, 2016 09:51, "Jack J. Woehr" wrote: David Crayford wrote: > Yep.

Re: TSO Setup on SSH

2016-11-28 Thread Jack J. Woehr
David Crayford wrote: Yep. It's part of Rockets ported tools http://www.rocketsoftware.com/ported-tools. Very cool, had no idea they were there. -- Jack J. Woehr # Science is more than a body of knowledge. It's a way of www.well.com/~jax # thinking, a way of skeptically interrogating the u

Re: TSO Setup on SSH

2016-11-28 Thread David Crayford
On 29/11/2016 11:57 AM, Jack J. Woehr wrote: David Crayford wrote: the midnight command port which has weird key bindings. On *nix I live in Midnight Commander ... there's a port for z/OS? Yep. It's part of Rockets ported tools http://www.rocketsoftware.com/ported-tools. Do you run it f

Re: TSO Setup on SSH

2016-11-28 Thread Edward Gould
> On Nov 28, 2016, at 8:16 AM, Paul Gilmartin > <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > > On Sun, 27 Nov 2016 17:10:17 -0600, Edward Gould wrote: >> >> If you don’t like EBCDIC go play in the ASCII world. >> > Oh, I do! this forum is conducted in ASCII, isn't it? Yes however

Re: TSO Setup on SSH

2016-11-28 Thread Jack J. Woehr
David Crayford wrote: the midnight command port which has weird key bindings. On *nix I live in Midnight Commander ... there's a port for z/OS? Do you run it from OMVS or just when you ssh in? -- Jack J. Woehr # Science is more than a body of knowledge. It's a way of www.well.com/~jax # t

Re: TSO Setup on SSH

2016-11-28 Thread David Crayford
On 29/11/2016 9:18 AM, Paul Gilmartin wrote: On Mon, 28 Nov 2016 19:40:11 +0800, David Crayford wrote: ISPF does surprisingly well with UNIX files tagged UTF-8. Agreed. IMO, ISPF has very good support for z/OS UNIX now. I spend most of my time in a shell but ISPF sure beats using the midnig

Re: TSO Setup on SSH

2016-11-28 Thread Paul Gilmartin
On Mon, 28 Nov 2016 19:40:11 +0800, David Crayford wrote: > >... I've ported many >open source projects to z/OS over the >years and EBCDIC is the killer. > >> I do not whinge about EBCDIC. EBCDIC is part of the austere and >> idiosyncratic nature of traditional IBM record-based business systems. >>

Re: TSO Setup on SSH

2016-11-28 Thread Paul Gilmartin
On Mon, 28 Nov 2016 22:32:08 +0530, venkat kulkarni wrote: >Thanks for reply. I am looking for free tool for making this setup work .Do >we have any solution. > Cygwin is free (= very attractive price). But the setup is tedious although the benefits are enormous (you can almost pretend you don't

Re: TSO Setup on SSH

2016-11-28 Thread venkat kulkarni
Thanks for reply. I am looking for free tool for making this setup work .Do we have any solution. On Mon, Nov 28, 2016 at 9:47 PM, Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Mon, 28 Nov 2016 21:24:24 +0530, venkat kulkarni wrote: > > > >I think, we still need sol

Re: TSO Setup on SSH

2016-11-28 Thread Paul Gilmartin
On Mon, 28 Nov 2016 21:24:24 +0530, venkat kulkarni wrote: > >I think, we still need solution of the this issue that how do we transfer >MVS sequential or PDS dataset using SFTP. > I can do it with Cygwin and ssh rather than SFTP. Are Cygwin and ssh available to you? The price is very attractive

Re: TSO Setup on SSH

2016-11-28 Thread venkat kulkarni
Hello All, I think, we still need solution of the this issue that how do we transfer MVS sequential or PDS dataset using SFTP. Because winSCP only giving me option to transfer omvs files but i have requirement of transferring MVS sequential and partition dataset on daily basis . Or is there ant j

Re: TSO Setup on SSH

2016-11-28 Thread John McKown
On Mon, Nov 28, 2016 at 9:09 AM, Jack J. Woehr wrote: > Paul Gilmartin wrote: > >> Wordpad is 50% better. It understands UNIX files on input but always >> saves as DOS. >> >> Notepad++ accepts DOS, UNiX and Classic Mac files and saves by default >> in the input format. Or the user can select th

Re: TSO Setup on SSH

2016-11-28 Thread Jack J. Woehr
Paul Gilmartin wrote: Wordpad is 50% better. It understands UNIX files on input but always saves as DOS. Notepad++ accepts DOS, UNiX and Classic Mac files and saves by default in the input format. Or the user can select the output format. Any Windows user who interacts with Unix, z/OS, z/VM

Re: TSO Setup on SSH

2016-11-28 Thread Jack J. Woehr
David Crayford wrote: Don't whine! If you're unhappy with scp then why don't you port it to do what you want? Two reasons: 1. Life is short and I'm both familiar with the porting process for OpenSSH and quite busy. 2. Everything works fine on IBM i, the IBM system I use the most! https://git

Re: TSO Setup on SSH

2016-11-28 Thread Paul Gilmartin
On Sun, 27 Nov 2016 17:10:17 -0600, Edward Gould wrote: > >If you don’t like EBCDIC go play in the ASCII world. > Oh, I do! this forum is conducted in ASCII, isn't it? On Sun, 27 Nov 2016 18:14:01 -0600, John McKown wrote: > >> scp is universally outside z/OS a binary transfer protocol which kno

Re: TSO Setup on SSH

2016-11-28 Thread David Crayford
On 28/11/2016 2:14 PM, Jack J. Woehr wrote: David Crayford wrote: He does! We all do. Most of the people whinging about EBCDIC on here also work on *nix systems. EBCDIC is a terrible anachronism but unfortunately we're stuck with it. I do indeed play on *nix. I came to traditional IBM reco

Re: TSO Setup on SSH

2016-11-27 Thread Jack J. Woehr
David Crayford wrote: He does! We all do. Most of the people whinging about EBCDIC on here also work on *nix systems. EBCDIC is a terrible anachronism but unfortunately we're stuck with it. I do indeed play on *nix. I came to traditional IBM record-based business systems from the Land of Ni

Re: TSO Setup on SSH

2016-11-27 Thread David Crayford
On 28/11/2016 7:10 AM, Edward Gould wrote: On Nov 27, 2016, at 4:53 PM, Edward Gould wrote: —SNIP- IBM blundered with the 'scp' command on z/OS and made it automatically and uncontrollably convert text. scp is universally outside z/OS a binary transfer protoco

Re: TSO Setup on SSH

2016-11-27 Thread John McKown
On Sun, Nov 27, 2016 at 11:25 AM, Jack J. Woehr wrote: > Paul Gilmartin wrote: > >> From a UNIXy platform or Cygwin I might try (if desperate): >> > > IBM blundered with the 'scp' command on z/OS and made it automatically and > uncontrollably convert text. > ​I totally agree that this is a blund

Re: TSO Setup on SSH

2016-11-27 Thread Steve Thompson
Inquiring minds: why did Burroughs use EBCDIC? Sent from my iPhone > On Nov 27, 2016, at 6:13 PM, Mike Schwab wrote: > > On Sun, Nov 27, 2016 at 4:53 PM, Edward Gould wrote: > > IBM came out with the 80 column card. > BCD was the 6 bit representation of the card punches. > EBCDIC was the 8

Re: TSO Setup on SSH

2016-11-27 Thread Mike Schwab
On Sun, Nov 27, 2016 at 4:53 PM, Edward Gould wrote: >>> —SNIP- >>> IBM blundered with the 'scp' command on z/OS and made it automatically and >>> uncontrollably convert text. >>> >>> scp is universally outside z/OS a binary transfer protocol which knows >>> nothi

Re: TSO Setup on SSH

2016-11-27 Thread Edward Gould
> On Nov 27, 2016, at 4:53 PM, Edward Gould wrote: > >>> —SNIP- >>> IBM blundered with the 'scp' command on z/OS and made it automatically and >>> uncontrollably convert text. >>> >>> scp is universally outside z/OS a binary transfer protocol which knows >>> not

Re: TSO Setup on SSH

2016-11-27 Thread Edward Gould
>> —SNIP- >> IBM blundered with the 'scp' command on z/OS and made it automatically and >> uncontrollably convert text. >> >> scp is universally outside z/OS a binary transfer protocol which knows >> nothing whatsoever of the content it transfers. >> >> z/OS user

Re: TSO Setup on SSH

2016-11-27 Thread Paul Gilmartin
On Sun, 27 Nov 2016 10:25:54 -0700, Jack J. Woehr wrote: > >IBM blundered with the 'scp' command on z/OS and made it automatically and >uncontrollably convert text. > >scp is universally outside z/OS a binary transfer protocol which knows nothing >whatsoever of the content it transfers. > >z/OS u

Re: TSO Setup on SSH

2016-11-27 Thread Jack J. Woehr
Paul Gilmartin wrote: From a UNIXy platform or Cygwin I might try (if desperate): IBM blundered with the 'scp' command on z/OS and made it automatically and uncontrollably convert text. scp is universally outside z/OS a binary transfer protocol which knows nothing whatsoever of the content i

Re: TSO Setup on SSH

2016-11-27 Thread Paul Gilmartin
On Sun, 27 Nov 2016 17:00:59 +0530, venkat kulkarni wrote: >Thanks all. I am using winscp to transfer Unix file transfer between system >but how can I transfer mvs PDs dataset using sftp > Mostly not. You can install Dovetailed's Co:Z. Free to use, $ for support. From a UNIXy platform or Cygwi

Re: TSO Setup on SSH

2016-11-27 Thread venkat kulkarni
Thanks all. I am using winscp to transfer Unix file transfer between system but how can I transfer mvs PDs dataset using sftp On Nov 24, 2016 19:39, "Jack J. Woehr" wrote: > venkat kulkarni wrote: > >> Also please help me to find difference in tn3270 and tn3270e and when >> should we use tn3270e

Re: TSO Setup on SSH

2016-11-24 Thread Jack J. Woehr
venkat kulkarni wrote: Also please help me to find difference in tn3270 and tn3270e and when should we use tn3270e instead of tn3270. I believe that basically tn3270e is the modern protocol currently in use and is effectively what is meant when people talk about the tn3270 protocol. http://w

Re: TSO Setup on SSH

2016-11-22 Thread venkat kulkarni
www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker > > > > Podcast Series (With Marna Walle): https://developer.ibm.com/tv/mpt/ > or > > > > https://itunes.apple.com/gb/podcast/mainframe-performance- > > topics/id1127943573?mt=2 > > > > >

Re: TSO Setup on SSH

2016-11-22 Thread Kirk Wolf
erworks/mydeveloperworks/blogs/MartinPacker > > Podcast Series (With Marna Walle): https://developer.ibm.com/tv/mpt/or > > https://itunes.apple.com/gb/podcast/mainframe-performance- > topics/id1127943573?mt=2 > > > > From: Kirk Wolf > To: IBM-MAIN@LISTSERV.UA.ED

Re: TSO Setup on SSH

2016-11-22 Thread Martin Packer
e-topics/id1127943573?mt=2 From: Kirk Wolf To: IBM-MAIN@LISTSERV.UA.EDU Date: 22/11/2016 15:27 Subject: Re: TSO Setup on SSH Sent by:IBM Mainframe Discussion List There are a bunch of pieces that I would have to externalize; maybe some day. I don't really find

Re: TSO Setup on SSH

2016-11-22 Thread Kirk Wolf
There are a bunch of pieces that I would have to externalize; maybe some day. I don't really find x3270 all that objectionable. Its fairly easy to customize and the scripting works fine. Granted, I don't use it that much; most of my z/OS work is from a shell. Kirk Wolf Dovetailed Technologies ht

Re: TSO Setup on SSH

2016-11-22 Thread John McKown
On Tue, Nov 22, 2016 at 9:01 AM, Kirk Wolf wrote: > ​ > > > We do something like this from our Linux workstations. I wrote a script > that makes an ssh connection (authenticating with a private key from a > password safe) and over this connection it runs a z/OS UNIX command to > return a RACF pa

Re: TSO Setup on SSH

2016-11-22 Thread Kirk Wolf
On Tue, Nov 22, 2016 at 12:03 AM, Jack J. Woehr wrote: > > SSH and secure Telnet3270E essentially use the same security technology, > that is, OpenSSL. > z/OS OpenSSH does include some of the EVP crypto code from OpenSSL for Ciphers and MACs, etc, but it doesn't use any "SSL" or "TLS" functiona

Re: TSO Setup on SSH

2016-11-22 Thread Bill Woodger
Venkat, Can you please clarify exactly what you want to achieve, what point you are trying to reach? By "TSO" do you mean, as Paul suspects, you need direct, immediate, access to a TSO prompt for some long-superseded limit on some requirement from years 'n' years ago? Or do you, by "TSO", mean

Re: TSO Setup on SSH

2016-11-21 Thread venkat kulkarni
Hello Paul, Thanks. So, in pcom session I should use o 992 instead of telnet port 23 which we are currently using it. If yes, then also suggest what more changes we need to make to have 992 tso connection work to access tso On Nov 22, 2016 10:27, "Paul Gilmartin" < 000433f07816-dmarc-requ...

Re: TSO Setup on SSH

2016-11-21 Thread Paul Gilmartin
On Tue, 22 Nov 2016 11:22:54 +0530, venkat kulkarni wrote: >Thanks. As I am in process of setting up open ssh on our zos system and now >I am able to log in to system on once using my tso I'd with ssh port 22. >But was not able to connect to tso with port 22 by making changes in pcom >session conn

Re: TSO Setup on SSH

2016-11-21 Thread Paul Gilmartin
On Tue, 22 Nov 2016 14:20:34 +0800, Timothy Sipples wrote: > >In contrast, TN3270E tunneling over SSH is not that common. The >SSH Tectia Server for z/OS, a commercial product, officially supports 3270 >tunneling over SSH. As far as I know the OpenSSH server included with z/OS >2.2, and its predece

Re: TSO Setup on SSH

2016-11-21 Thread Timothy Sipples
That's not how TN3270E protocols typically work. If you want encrypted TN3270E sessions (you should!), I recommend you enable TLS/SSL-encrypted TN3270E. That capability has been available for two decades now at no additional charge, starting way back in the OS/390 days, and progressively improved e

Re: TSO Setup on SSH

2016-11-21 Thread Paul Gilmartin
On Mon, 21 Nov 2016 23:03:17 -0700, Jack J. Woehr wrote: > >However, on the PCOMM workstation, *if* you have ssh, you can do an ssh port >redirect first, and then you can get >through to the Telnet3270E port on your z/OS machine. > I believe that requires an ssh *server* on the workstation. Until

Re: TSO Setup on SSH

2016-11-21 Thread Jack J. Woehr
venkat kulkarni wrote: So, I wanted to take help of expert to make this tso connection work with port 22. Please correct me if my understanding is wrong Well, I'm hardly an "expert". SSH and secure Telnet3270E essentially use the same security technology, that is, OpenSSL. Secure Telnet3270E

Re: TSO Setup on SSH

2016-11-21 Thread Paul Gilmartin
On Tue, 22 Nov 2016 11:12:51 +0530, venkat kulkarni wrote: >It's on live system not on zpdt. But as I mentioned before I would like to >use secure port 22 to connect with tso instead of telnet port 23. > >Please suggest me the way to make this connection work. > Can you get a secure connection wit

Re: TSO Setup on SSH

2016-11-21 Thread venkat kulkarni
Thanks. As I am in process of setting up open ssh on our zos system and now I am able to log in to system on once using my tso I'd with ssh port 22. But was not able to connect to tso with port 22 by making changes in pcom session connection. So, I wanted to take help of expert to make this tso co

Re: TSO Setup on SSH

2016-11-21 Thread Jack J. Woehr
venkat kulkarni wrote: It's on live system not on zpdt. But as I mentioned before I would like to use secure port 22 to connect with tso instead of telnet port 23. Please suggest me the way to make this connection work. Don't you just want secure TN3270e? You don't need SSH itself. http://www.

Re: TSO Setup on SSH

2016-11-21 Thread David Crayford
On 22/11/2016 1:42 PM, venkat kulkarni wrote: It's on live system not on zpdt. But as I mentioned before I would like to use secure port 22 to connect with tso instead of telnet port 23. Please suggest me the way to make this connection work. There is no way that I know of. Are you sure you do

Re: TSO Setup on SSH

2016-11-21 Thread venkat kulkarni
It's on live system not on zpdt. But as I mentioned before I would like to use secure port 22 to connect with tso instead of telnet port 23. Please suggest me the way to make this connection work. On Nov 22, 2016 08:17, "Amrith" < 00ae6d97fc6e-dmarc-requ...@listserv.ua.edu> wrote: > I think

Re: TSO Setup on SSH

2016-11-21 Thread Amrith
I think thats the way it's supposed to be used, you can try using putty if you want to. Are you on real iron or zPDT ? On Tuesday, November 22, 2016 10:22 AM, venkat kulkarni wrote: Hello, Thanks for reply. Sorry for not being clear. Basically I want to use SSH with port 22 duribg acc

Re: TSO Setup on SSH

2016-11-21 Thread Paul Gilmartin
On Tue, 22 Nov 2016 10:22:09 +0530, venkat kulkarni wrote: > >Thanks for reply. Sorry for not being clear. Basically I want to use SSH >with port 22 duribg accessing tso using pcom session. Currently we use >telnet with port 22. > Looking at an arbitrarily selected /etc/services I see: ssh

  1   2   >