Encountering this error trying to transfer to the z/OS Mainframe
"mkdirp: unable to create sftp client: ssh subsystem request failed"
Mainframe syslog showed RACF access problem for the sftp/ssh attempt:
**********BPXF024I (OMVSKERN) Mar 19 00:40:17 SYBRCD1 sshd 67175390 : Accepted 285 password for U123456 from ##.##.#.# port 58735 ssh2 IAT6100 ( DEMSEL ) JOB BPXAS (JOB30829), PRTY=15, ID=OMVSKERN OPS4200I MESSAGE: 'OPSWTO MSGID(CICSMONY) TEXT('CICSMONY SNF1310-013-I 069 RECEIVED A SWITCH LOGON REQUEST IEF403I BPXAS - STARTED - TIME=11.40.17 BPXP024I BPXAS INITIATOR STARTED ON BEHALF OF JOB SSHD2 RUNNING IN ASID 0176 IAT6100 ( DEMSEL ) JOB BPXAS (JOB30830), PRTY=15, ID=OMVSKERN IEF403I BPXAS - STARTED - TIME=11.40.17 BPXP024I BPXAS INITIATOR STARTED ON BEHALF OF JOB U442038 RUNNING IN ASID 02A5 ICH408I USER(U123456 ) GROUP(GROUP123) NAME(A.B) 293 /tmp/.sh_history CL(FSOBJ ) FID(00000000000000000000021600000000) INSUFFICIENT AUTHORITY TO OPEN ACCESS INTENT(RW-) ACCESS ALLOWED(OTHER ---) EFFECTIVE UID(0000123456) EFFECTIVE GID(0012345678) ...
**********
The user needed to request read access to the SSH port 22 for the LPAR. After that was granted the problem was resolved.