Co:Z Server Used Intermittently

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
zMe
Posts: 2
Joined: Mon Jul 22, 2019 3:45 am

Co:Z Server Used Intermittently

Post by zMe »

Hi,

I'm struggling to get the Co:Z Server working properly.

I went through all the setup steps and made sure the .rc file exists.
It does contain USE_COZ_SFTP=true.
It also contains a SFTP_ZOS_INITIAL_DIR=// statement.

Now when I connect via PUTTY for example it takes me to the root directory under USS. (Users home is setup as /). Which is the expected behavior from the IBM SFTP server.

But when I connect via WinSCP it takes me to the Dataset directory listing for the username '//' which tells me it's picking up the parms for initial directory in the .rc file.

But in the PUTTY session none of the /+ Co:Z commands work.

Not even the log file is created for the Co:Z session when using PUTTY.

I have no idea to determine where this is going wrong...

Any guidance would be much appreciated.

Regards,
zMe
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Co:Z Server Used Intermittently

Post by dovetail »

- PuTTY or psftp ?

Please show your console input and output from psftp, like:

> psftp -v user@myzos.com
zMe
Posts: 2
Joined: Mon Jul 22, 2019 3:45 am

Re: Co:Z Server Used Intermittently

Post by zMe »

Thank you the psftp works and all the /+ options are available.

I was testing with a Putty session setup to port 22 and SSH.

So why does connection to port 22 with SSH not work?

What would the required type of connection be from the client used to connect to our Co:Z server for both interactive and scripted sessions?
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Co:Z Server Used Intermittently

Post by dovetail »

PuTTY is an SSH terminal emulator - it is not SFTP.

If you want to use SFTP, then you can use psftp in either interactive or batch mode.

See: https://the.earth.li/~sgtatham/putty/0. ... html#psftp
Post Reply