SFTP Not Going Through Proxy Server

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
hroman
Posts: 27
Joined: Thu Aug 13, 2009 10:09 am

SFTP Not Going Through Proxy Server

Post by hroman »

We have an SFTP that should be going through a proxy server by using ssh-proxyc. However, it does not appear to be executing this command because there are no packets going to the proxy server and the connection is failing.

I have the following in ssh_config:

Host *.ibm.com
Host *.emc.com
ProxyCommand ssh-proxyc -v -p gateway2ndc.ual.com:1080 %h %p
ProxyUseFDpass yes
Protocol 2

The msg's from the SFTP sysout are:

Co:Z SFTP version: 7.0.2 (8.4p1) 2022-01-11
Copyright (C) Dovetailed Technologies, LLC. 2008-2022. All rights reserved.
Connecting to testcase.boulder.ibm.com...
05.56.18 STC05535 IEF285I SYS2.COZ.LOADLIB KEPT
05.56.18 STC05535 IEF285I VOL SER NOS= RSEEX2.
OpenSSH_7.6p1, LibreSSL 3.0.2

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 18: Applying options for *.ibm.com

debug1: /etc/ssh/ssh_config line 24: Applying options for *

05.56.18 STC05535 IGD104I UNIX FILE WAS RETAINED, DDNAME IS (SYS00003) 289
289 FILENAME IS (/etc/resolv.conf)
debug1: zsshSmfSetConnSmfStatus: SMF status is 0

debug1: Connecting to testcase.boulder.ibm.com Ý170.225.15.31¨ port 22.

debug1: connect to address 170.225.15.31 port 22: EDC8127I Connection timed out. (errno2=0x74940000)

FOTS2204 ssh: connect to host testcase.boulder.ibm.com port 22: EDC8127I Connection timed out. (errno2=0x74940000)

Ý05:57:18.540919¨ Connection closed

Ý05:57:18.540966¨ debug1: _zos_exit(255): SSH failed to start connection (12)

CoZBatchÝN¨: version: 7.0.2 2022-01-11
CoZBatchÝN¨: Copyright (C) Dovetailed Technologies, LLC. 2005-2022. All rights
CoZBatchÝI¨: executing default progname="-/bin/sh"
CoZBatchÝI¨: returning rc=exitcode=12

What am I missing?

Jerry Roman
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: SFTP Not Going Through Proxy Server

Post by dovetail »

Hi Jerry,

Since you are an Enterprise License and Support customer, we have opened a ticket for you.
Post Reply