CZCHKCMD

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
Adam123
Posts: 6
Joined: Wed Mar 28, 2012 12:59 pm

CZCHKCMD

Post by Adam123 »

All commands entered at SFTP Client are passed to CZCHKCMD user exit as 'LIST' Commands. An identical version of this user exit, named FTCHKCMD, and positioned for legacy, port 21, FTP does not show this issue. Is this issue me or is it you.
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Re: CZCHKCMD

Post by dovetail »

It would be helpful if you could capture a trace of the Co:Z SFTP Server, along with a listing of the commands entered from the remote SFTP client.

To enable the trace, create a user-level script file in the user's ".ssh" directory, per the instructions here:
http://dovetail.com/docs/sftp/config.ht ... _server_rc

In this file, include these lines:

Code: Select all

#! /bin/sh
export SFTP_SERVER_OPTIONS="-e -l debug3"
export COZ_LOG=F
Please send the Co:Z SFTP server session log file (by default, this is created in a file named "/tmp/sftp-server.<userid>.<date-time>.<pid>.log")
to info@dovetail.com and we'll take a look. This trace will show what packets are received by the Co:Z SFTP server and how these packets(commands) are translated into calls to the CZCHKCMD exit.
Post Reply