Hi,
We have been running z/OS batch ssh/sftp jobs successfully for a couple of years now, but get intermittent failures, usually when the z/OS system is running slowly. So my question is does anyone know whether either of the 2 following timeout values can be changed? We are using keypair authentication to a Linux system with the keyring technique.
We sometimes get this
SpawnSafSshAgentÝE¨: Timeout waiting for SSH_AUTH_SOCK creation
SSH connection established, but authentication fails
and sometimes get this
SSH OK, authentication OK, user script invoked OK at Linux target then
cozagentÝW¨: STDERR DD Writer did not complete within the timeout period of 20 seconds; killing
todsn-client(27712)ÝE¨: Error: no exit code received from CoZServer
cozagentÝE¨: STDERR DD Writer(27712) ended with RC=102
I know we are back-level, which I can fix, but it would be really useful to know where the timeout values can be set.
CoZLauncherÝN¨: version: 1.8.0 2011-02-03
cozagentÝN¨: version: 1.0.14 2011-05-19
Thanks, Stefan
Timeouts in SSH/SFTP
Re: Timeouts in SSH/SFTP
The timeout from SpawnSafSshAgent occurs after waiting for up to 2 seconds for a child process to start (spawn in the same address space) on z/OS.
Currently, this timeout can not be overridden.
The cozagent timeout can be increased.
Use the following setting in COZCFG or COZCFGD to change the completion timeout to 60 seconds:
agent-options=-w 60
Currently, this timeout can not be overridden.
The cozagent timeout can be increased.
Use the following setting in COZCFG or COZCFGD to change the completion timeout to 60 seconds:
agent-options=-w 60
Re: Timeouts in SSH/SFTP
Thanks, Dovetail. Will try agent-options.