Out of memory error connecting to SFTP on IBM zOS

Advertisement

Guest

Out of memory error connecting to SFTP on IBM zOS

I'm attempting to use WinSCP to connect to an IBM mainframe computer running zOS. Using Putty or sftp, I can connect without problem, but we wanted to have a GUI interface to sftp.

When I connect using WinSCP, I get a window titled "Error", with the additional information containing either "Invalid access to memory" or "Out of memory". The directory tree is not built. We've tried this using several accounts, with the same result.

Connecting to a Linux machine works without problem, so it would appear to be related to the interaction between WinSCP and zOS.

My best estimate would be that somehow, WinSCP doesn't understand the directory format that is being sent back to it, possibly getting into a loop processing the result, until memory is exhausted. But this is just a guess, based on the external symptoms.

Log follows:
Started a shell/command
--------------------------------------------------------------------------
Using SFTP protocol.
Doing startup conversation with host.
Type: SSH_FXP_INIT, Size: 5, Number: -1
Type: SSH_FXP_VERSION, Size: 5, Number: -1
SFTP version 3 negotiated.
Type: SSH_FXP_EXTENDED, Size: 38, Number: 200
Type: SSH_FXP_STATUS, Size: 38, Number: 200
Status/error code: 8
Server does not recognise WinSCP.
Getting current directory name.
Getting real path for '.'
Type: SSH_FXP_REALPATH, Size: 10, Number: 528
Type: SSH_FXP_NAME, Size: 51, Number: 528
Real path is '/TECH/u/ts00086'
Listing directory "/TECH/u/ts00086".
Type: SSH_FXP_OPENDIR, Size: 24, Number: 779
Type: SSH_FXP_HANDLE, Size: 13, Number: 779
Type: SSH_FXP_READDIR, Size: 13, Number: 1036
Type: SSH_FXP_NAME, Size: 4465, Number: 1036
Type: SSH_FXP_READDIR, Size: 13, Number: 1292
Type: SSH_FXP_CLOSE, Size: 13, Number: 1540
Type: SSH_FXP_STATUS, Size: 28, Number: 1292
Type: SSH_FXP_STATUS, Size: 24, Number: 1540
Status/error code: 0
(ECommand) Error listing directory '/TECH/u/ts00086'.
Out of memory
Startup conversation with host finished.
Any help would be appreciated. Thanks in advance.

Robert Nix
Mainframe Technical Support, Mayo Clinic
nix.robert@mayo.edu

Reply with quote

Advertisement

Guest

Re: Out of memory error connecting to SFTP on IBM zOS

Sorry; Additional information:
WinSCP version 3.6.8 build 245.
Protocol: OpenSSH_3.5p1, SFTP(v3)

Robert Nix
Mainframe Technical Support, Mayo Clinic
nix.robert@mayo.edu

Reply with quote

Guest

Re: Out of memory error connecting to SFTP on IBM zOS

A little more information: While SFTP doesn't work, SCP does.

Robert Nix
Mainframe Technical Support, Mayo Clinic
nix.robert@mayo.edu

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Out of memory error connecting to SFTP on IBM zOS

Also enable SFTP protocol logging by importing following registry settings:
REGEDIT4 

[HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration\Logging] 
"LogProtocol"=dword:00000001
Then generate the same log as you have done in your post. It should include SFTP packet dumps.

BTW: Can I have a test account of your system?

Reply with quote

rpnix
Joined:
Posts:
2
Location:
Rochester Minnesota

Re: Out of memory error connecting to SFTP on IBM zOS

New trace:
Session name: ts00086@mftech2.mayo.edu
Host name: mftech2.mayo.edu (Port: 22)
User name: ts00086 (Password: Yes, Key file: No)
Transfer Protocol: SFTP (SCP)
SSH protocol version: 2; Compression: No
Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
SSH Bugs: -,-,-,-,-,-,-,-,
Proxy: none
Return code variable: Autodetect; Lookup user groups: Yes
Shell: default, EOL: 0
Local directory: default, Remote directory: home, Update: No, Cache: Yes
Cache directory changes: Yes, Permanent: Yes
Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
--------------------------------------------------------------------------
Looking up host "mftech2.mayo.edu"
Connecting to 129.176.97.5 port 22
Server version: SSH-2.0-OpenSSH_3.5p1
We claim version: SSH-2.0-WinSCP-release-3.6.8
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange
Host key fingerprint is:
ssh-rsa 1024 7b:11:cf:a1:45:05:0c:e7:b6:bb:cf:b7:b6:17:1b:b6
Initialised AES-256 client->server encryption
Initialised AES-256 server->client encryption
Using username "ts00086".
Keyboard-interactive authentication refused
Session password prompt (ts00086@mftech2.mayo.edu's password: )
Using stored password.
Sent password
Access granted
Opened channel for session
Started a shell/command
--------------------------------------------------------------------------
Using SFTP protocol.
Doing startup conversation with host.
Type: SSH_FXP_INIT, Size: 5, Number: -1
01,00,00,00,05,
Type: SSH_FXP_VERSION, Size: 5, Number: -1
02,00,00,00,03,
SFTP version 3 negotiated.
Type: SSH_FXP_EXTENDED, Size: 38, Number: 200
C8,00,00,00,C8,00,00,00,1D,77,69,6E,73,63,70,40,77,69,6E,73,63,70,2E,73,6F,
75,72,63,65,66,6F,72,67,65,2E,6E,65,74,
Type: SSH_FXP_STATUS, Size: 38, Number: 200
65,00,00,00,C8,00,00,00,08,00,00,00,15,4F,70,65,72,61,74,69,6F,6E,20,75,6E,
73,75,70,70,6F,72,74,65,64,00,00,00,00,
Status/error code: 8
Server does not recognise WinSCP.
Getting current directory name.
Getting real path for '.'
Type: SSH_FXP_REALPATH, Size: 10, Number: 528
10,00,00,02,10,00,00,00,01,2E,
Type: SSH_FXP_NAME, Size: 51, Number: 528
68,00,00,02,10,00,00,00,01,00,00,00,0F,2F,54,45,43,48,2F,75,2F,74,73,30,30,
30,38,36,00,00,00,0F,2F,54,45,43,48,2F,75,2F,74,73,30,30,30,38,36,00,00,00,
00,
Real path is '/TECH/u/ts00086'
Listing directory "/TECH/u/ts00086".
Type: SSH_FXP_OPENDIR, Size: 24, Number: 779
0B,00,00,03,0B,00,00,00,0F,2F,54,45,43,48,2F,75,2F,74,73,30,30,30,38,36,
Type: SSH_FXP_HANDLE, Size: 13, Number: 779
66,00,00,03,0B,00,00,00,04,00,00,00,00,
Type: SSH_FXP_READDIR, Size: 13, Number: 1036
0C,00,00,04,0C,00,00,00,04,00,00,00,00,
Type: SSH_FXP_NAME, Size: 4465, Number: 1036
68,00,00,04,0C,00,00,00,1D,00,00,00,01,2E,00,00,00,39,64,72,77,78,72,2D,78,
72,2D,78,20,20,20,20,39,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,
20,20,20,20,20,20,38,31,39,32,20,53,65,70,20,33,30,20,30,39,3A,32,37,20,2E,
80,00,00,0F,00,00,00,00,00,00,20,00,00,00,00,00,00,00,00,64,00,00,41,ED,41,
62,B5,BC,41,5C,17,D9,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,
73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,39,00,00,00,02,2E,2E,00,00,
00,3A,64,72,77,78,72,2D,78,72,2D,78,20,20,20,33,33,20,54,53,30,30,30,39,31,
20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,38,31,39,32,20,53,65,70,20,32,
39,20,31,35,3A,34,33,20,2E,2E,80,00,00,0F,00,00,00,00,00,00,20,00,00,00,00,
00,00,00,00,64,00,00,41,ED,41,62,B5,BC,41,5B,1E,5C,00,00,00,01,00,00,00,16,
6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,
02,33,33,00,00,00,12,2E,6A,61,76,61,2E,6C,6F,67,69,6E,2E,63,6F,6E,66,69,67,
00,00,00,4A,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,20,54,53,30,30,30,
39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,20,31,34,30,20,4A,61,6E,
20,31,36,20,20,32,30,30,32,20,2E,6A,61,76,61,2E,6C,6F,67,69,6E,2E,63,6F,6E,
66,69,67,80,00,00,0F,00,00,00,00,00,00,00,8C,00,00,00,00,00,00,00,64,00,00,
81,A4,40,95,9E,C7,3C,45,C5,C1,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,
5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,08,2E,
70,72,6F,66,69,6C,65,00,00,00,40,2D,72,77,78,72,2D,2D,72,2D,2D,20,20,20,20,
31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,31,
31,35,36,20,41,70,72,20,32,37,20,31,35,3A,31,39,20,2E,70,72,6F,66,69,6C,65,
80,00,00,0F,00,00,00,00,00,00,04,84,00,00,00,00,00,00,00,64,00,00,81,E4,41,
61,55,C4,40,8E,C0,69,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,
73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,0B,2E,73,68,5F,
68,69,73,74,6F,72,79,00,00,00,43,2D,72,77,2D,2D,2D,2D,2D,2D,2D,20,20,20,20,
31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,32,
30,30,32,20,53,65,70,20,33,30,20,30,39,3A,32,38,20,2E,73,68,5F,68,69,73,74,
6F,72,79,80,00,00,0F,00,00,00,00,00,00,07,D2,00,00,00,00,00,00,00,64,00,00,
81,80,41,5D,28,19,41,5C,17,F1,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,
5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,03,62,
69,6E,00,00,00,3B,64,72,77,78,72,2D,78,72,2D,78,20,20,20,20,32,20,54,53,30,
30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,38,31,39,32,20,41,
75,67,20,20,34,20,20,32,30,30,33,20,62,69,6E,80,00,00,0F,00,00,00,00,00,00,
20,00,00,00,00,00,00,00,00,64,00,00,41,ED,41,62,6F,E7,3F,2E,6D,CB,00,00,00,
01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,
6F,6D,00,00,00,01,32,00,00,00,0E,68,65,61,64,65,72,73,2E,74,61,72,2E,67,7A,
00,00,00,46,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,20,54,53,30,30,30,
39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,32,37,36,34,38,30,20,44,65,63,
20,31,31,20,20,32,30,30,33,20,68,65,61,64,65,72,73,2E,74,61,72,2E,67,7A,80,
00,00,0F,00,00,00,00,00,04,38,00,00,00,00,00,00,00,00,64,00,00,81,A4,40,95,
9E,CA,3F,D8,E9,2C,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,
40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,0C,68,6F,73,74,54,
65,73,74,2E,6A,61,72,00,00,00,44,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,
31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,32,
31,39,32,20,4D,61,72,20,32,39,20,20,32,30,30,34,20,68,6F,73,74,54,65,73,74,
2E,6A,61,72,80,00,00,0F,00,00,00,00,00,00,08,90,00,00,00,00,00,00,00,64,00,
00,81,A4,40,95,9E,CA,40,68,90,D7,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,
74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,16,
68,74,6D,6C,53,6E,69,70,70,65,74,73,54,65,73,74,2E,63,6C,61,73,73,00,00,00,
4E,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,20,54,53,30,30,30,39,31,20,
20,53,59,53,31,20,20,20,20,20,20,20,20,20,20,37,38,32,20,41,70,72,20,20,39,
20,20,32,30,30,32,20,68,74,6D,6C,53,6E,69,70,70,65,74,73,54,65,73,74,2E,63,
6C,61,73,73,80,00,00,0F,00,00,00,00,00,00,03,0E,00,00,00,00,00,00,00,64,00,
00,81,A4,40,95,9E,CA,3C,B3,4F,49,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,
74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,0A,
68,74,74,70,64,2E,63,6F,6E,66,00,00,00,42,2D,72,77,78,72,2D,78,72,2D,78,20,
20,20,20,31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,
31,36,34,33,30,30,20,53,65,70,20,20,39,20,30,38,3A,34,32,20,68,74,74,70,64,
2E,63,6F,6E,66,80,00,00,0F,00,00,00,00,00,02,81,CC,00,00,00,00,00,00,00,64,
00,00,81,ED,41,41,78,7B,41,40,5D,C3,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,
5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,
0A,68,74,74,70,64,2E,70,61,72,74,00,00,00,42,2D,72,77,2D,72,2D,2D,72,2D,2D,
20,20,20,20,31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,
20,20,20,20,33,37,36,20,41,75,67,20,20,34,20,20,32,30,30,33,20,68,74,74,70,
64,2E,70,61,72,74,80,00,00,0F,00,00,00,00,00,00,01,78,00,00,00,00,00,00,00,
64,00,00,81,A4,40,95,9E,CB,3F,2E,AC,44,00,00,00,01,00,00,00,16,6E,6C,69,6E,
6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,
00,07,6A,61,61,73,4D,53,53,00,00,00,3F,64,72,77,78,72,2D,78,72,2D,78,20,20,
20,20,32,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,
20,38,31,39,32,20,46,65,62,20,32,35,20,20,32,30,30,34,20,6A,61,61,73,4D,53,
53,80,00,00,0F,00,00,00,00,00,00,20,00,00,00,00,00,00,00,00,64,00,00,41,ED,
41,62,6F,E7,40,3C,A7,F5,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,
6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,32,00,00,00,04,6A,64,62,
63,00,00,00,3C,64,72,77,78,72,2D,78,72,2D,78,20,20,20,20,32,20,54,53,30,30,
30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,38,31,39,32,20,4F,63,
74,20,31,31,20,20,32,30,30,32,20,6A,64,62,63,80,00,00,0F,00,00,00,00,00,00,
20,00,00,00,00,00,00,00,00,64,00,00,41,ED,41,62,6F,E7,3D,A6,E4,97,00,00,00,
01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,
6F,6D,00,00,00,01,32,00,00,00,08,6A,73,70,54,6F,75,63,68,00,00,00,40,64,72,
77,78,72,2D,78,72,2D,78,20,20,20,20,32,20,54,53,30,30,30,39,31,20,20,53,59,
53,31,20,20,20,20,20,20,20,20,20,38,31,39,32,20,4E,6F,76,20,20,34,20,20,32,
30,30,32,20,6A,73,70,54,6F,75,63,68,80,00,00,0F,00,00,00,00,00,00,20,00,00,
00,00,00,00,00,00,64,00,00,41,ED,41,62,6F,E7,3D,C6,8D,31,00,00,00,01,00,00,
00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,
00,00,01,32,00,00,00,03,6C,69,62,00,00,00,3B,64,72,77,78,72,2D,78,72,2D,78,
20,20,20,20,32,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,
20,20,20,38,31,39,32,20,4F,63,74,20,32,32,20,20,32,30,30,31,20,6C,69,62,80,
00,00,0F,00,00,00,00,00,00,20,00,00,00,00,00,00,00,00,64,00,00,41,ED,41,62,
6F,E7,3B,D4,6C,2A,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,
40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,32,00,00,00,0C,6D,73,67,73,65,
6E,64,2E,6A,61,76,61,00,00,00,44,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,
31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,36,
39,33,36,20,4F,63,74,20,31,32,20,20,32,30,30,31,20,6D,73,67,73,65,6E,64,2E,
6A,61,76,61,80,00,00,0F,00,00,00,00,00,00,1B,18,00,00,00,00,00,00,00,64,00,
00,81,A4,40,95,9E,D2,3B,C7,3A,F1,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,
74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,0E,
70,6C,75,67,69,6E,2D,63,66,67,2E,78,6D,6C,00,00,00,46,2D,72,77,2D,72,2D,2D,
72,2D,2D,20,20,20,20,31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,
20,20,20,20,20,31,37,37,31,34,20,53,65,70,20,20,39,20,30,38,3A,34,32,20,70,
6C,75,67,69,6E,2D,63,66,67,2E,78,6D,6C,80,00,00,0F,00,00,00,00,00,00,45,32,
00,00,00,00,00,00,00,64,00,00,81,A4,41,41,78,7B,41,40,5D,DC,00,00,00,01,00,
00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,
00,00,00,01,31,00,00,00,14,70,6C,75,67,69,6E,2D,63,66,67,2E,78,6D,6C,2E,61,
73,63,69,69,00,00,00,4C,2D,72,77,2D,72,2D,2D,2D,2D,2D,20,20,20,20,31,20,54,
53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,37,34,35,39,
20,4A,75,6C,20,31,30,20,20,32,30,30,33,20,70,6C,75,67,69,6E,2D,63,66,67,2E,
78,6D,6C,2E,61,73,63,69,69,80,00,00,0F,00,00,00,00,00,00,1D,23,00,00,00,00,
00,00,00,64,00,00,81,A0,40,95,9E,D3,3F,0D,C1,D5,00,00,00,01,00,00,00,16,6E,
6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,
31,00,00,00,08,73,65,72,76,6C,65,74,73,00,00,00,40,64,72,77,78,72,2D,78,72,
2D,78,20,20,20,20,32,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,
20,20,20,20,20,38,31,39,32,20,4D,61,72,20,32,35,20,20,32,30,30,32,20,73,65,
72,76,6C,65,74,73,80,00,00,0F,00,00,00,00,00,00,20,00,00,00,00,00,00,00,00,
64,00,00,41,ED,41,62,6F,E7,3C,9F,93,BF,00,00,00,01,00,00,00,16,6E,6C,69,6E,
6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,32,00,00,
00,17,73,75,70,65,72,6E,6F,6F,70,2D,32,33,6D,61,79,32,30,30,33,2E,65,61,72,
00,00,00,4F,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,20,54,53,30,30,30,
39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,35,39,39,37,20,46,65,62,
20,32,36,20,20,32,30,30,34,20,73,75,70,65,72,6E,6F,6F,70,2D,32,33,6D,61,79,
32,30,30,33,2E,65,61,72,80,00,00,0F,00,00,00,00,00,00,17,6D,00,00,00,00,00,
00,00,64,00,00,81,A4,40,95,9E,D5,40,3E,55,E2,00,00,00,01,00,00,00,16,6E,6C,
69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,
00,00,00,0B,48,65,6C,6C,6F,2E,63,6C,61,73,73,00,00,00,43,2D,72,77,2D,72,2D,
2D,72,2D,2D,20,20,20,20,31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,
20,20,20,20,20,20,20,20,34,31,36,20,4F,63,74,20,33,30,20,20,32,30,30,33,20,
48,65,6C,6C,6F,2E,63,6C,61,73,73,80,00,00,0F,00,00,00,00,00,00,01,A0,00,00,
00,00,00,00,00,64,00,00,81,A4,40,95,9E,D5,3F,A1,5D,2E,00,00,00,01,00,00,00,
16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,
00,01,31,00,00,00,0A,48,65,6C,6C,6F,2E,6A,61,76,61,00,00,00,42,2D,72,77,78,
2D,2D,2D,2D,2D,2D,20,20,20,20,31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,
20,20,20,20,20,20,20,20,20,20,31,31,35,20,4F,63,74,20,33,30,20,20,32,30,30,
33,20,48,65,6C,6C,6F,2E,6A,61,76,61,80,00,00,0F,00,00,00,00,00,00,00,73,00,
00,00,00,00,00,00,64,00,00,81,C0,41,61,55,4C,3F,A1,60,1D,00,00,00,01,00,00,
00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,
00,00,01,31,00,00,00,0E,49,6E,65,74,49,6E,66,6F,2E,63,6C,61,73,73,00,00,00,
46,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,20,54,53,30,30,30,39,31,20,
20,53,59,53,31,20,20,20,20,20,20,20,20,20,36,33,32,38,20,4A,75,6E,20,32,37,
20,20,32,30,30,33,20,49,6E,65,74,49,6E,66,6F,2E,63,6C,61,73,73,80,00,00,0F,
00,00,00,00,00,00,18,B8,00,00,00,00,00,00,00,64,00,00,81,A4,40,95,9E,D5,3E,
FC,55,11,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,
2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,0D,49,6E,65,74,49,6E,66,6F,
2E,6A,61,76,61,00,00,00,45,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,20,
54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,39,36,31,
31,20,4A,75,6E,20,32,37,20,20,32,30,30,33,20,49,6E,65,74,49,6E,66,6F,2E,6A,
61,76,61,80,00,00,0F,00,00,00,00,00,00,25,8B,00,00,00,00,00,00,00,64,00,00,
81,A4,40,95,9E,D5,3E,FC,54,FC,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,
5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,12,50,
72,69,6D,65,53,65,61,72,63,68,65,72,2E,6A,61,76,61,00,00,00,4A,2D,72,77,2D,
72,2D,2D,72,2D,2D,20,20,20,20,31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,
20,20,20,20,20,20,20,20,20,33,35,37,33,20,53,65,70,20,32,31,20,20,32,30,30,
31,20,50,72,69,6D,65,53,65,61,72,63,68,65,72,2E,6A,61,76,61,80,00,00,0F,00,
00,00,00,00,00,0D,F5,00,00,00,00,00,00,00,64,00,00,81,A4,40,95,9E,D6,3B,AB,
86,95,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,
69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,0E,53,68,6F,77,49,6E,70,75,74,
2E,6A,61,76,61,00,00,00,46,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,20,
54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,33,32,38,
33,20,53,65,70,20,32,31,20,20,32,30,30,31,20,53,68,6F,77,49,6E,70,75,74,2E,
6A,61,76,61,80,00,00,0F,00,00,00,00,00,00,0C,D3,00,00,00,00,00,00,00,64,00,
00,81,A4,40,95,9E,D6,3B,AB,99,CA,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,
74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,00,00,00,08,
54,65,73,74,4A,41,41,53,00,00,00,40,64,72,77,78,72,2D,78,72,2D,78,20,20,20,
20,34,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,
38,31,39,32,20,4A,61,6E,20,31,35,20,20,32,30,30,32,20,54,65,73,74,4A,41,41,
53,80,00,00,0F,00,00,00,00,00,00,20,00,00,00,00,00,00,00,00,64,00,00,41,ED,
41,62,6F,E7,3C,44,61,F1,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,
6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,34,00,00,00,0F,55,70,6C,
6F,61,64,54,65,73,74,2E,68,74,6D,6C,00,00,00,47,2D,72,77,2D,72,2D,2D,72,2D,
2D,20,20,20,20,31,20,54,53,30,30,30,39,31,20,20,53,59,53,31,20,20,20,20,20,
20,20,20,20,20,33,31,37,20,41,70,72,20,31,32,20,20,32,30,30,31,20,55,70,6C,
6F,61,64,54,65,73,74,2E,68,74,6D,6C,80,00,00,0F,00,00,00,00,00,00,01,3D,00,
00,00,00,00,00,00,64,00,00,81,A4,40,95,9E,DE,3A,D5,F5,AF,00,00,00,01,00,00,
00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,75,73,2E,69,62,6D,2E,63,6F,6D,00,
00,00,01,31,00,00,00,0F,55,70,6C,6F,61,64,54,65,73,74,2E,6A,61,76,61,00,00,
00,47,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,20,54,53,30,30,30,39,31,
20,20,53,59,53,31,20,20,20,20,20,20,20,20,20,31,36,31,34,20,41,70,72,20,31,
32,20,20,32,30,30,31,20,55,70,6C,6F,61,64,54,65,73,74,2E,6A,61,76,61,80,00,
00,0F,00,00,00,00,00,00,06,4E,00,00,00,00,00,00,00,64,00,00,81,A4,41,5C,19,
73,3A,D5,FF,DD,00,00,00,01,00,00,00,16,6E,6C,69,6E,6B,5F,74,5F,7A,6F,73,40,
75,73,2E,69,62,6D,2E,63,6F,6D,00,00,00,01,31,
Type: SSH_FXP_READDIR, Size: 13, Number: 1292
0C,00,00,05,0C,00,00,00,04,00,00,00,00,
Type: SSH_FXP_CLOSE, Size: 13, Number: 1540
04,00,00,06,04,00,00,00,04,00,00,00,00,
Type: SSH_FXP_STATUS, Size: 28, Number: 1292
65,00,00,05,0C,00,00,00,01,00,00,00,0B,45,6E,64,20,6F,66,20,66,69,6C,65,00,
00,00,00,
Type: SSH_FXP_STATUS, Size: 24, Number: 1540
65,00,00,06,04,00,00,00,00,00,00,00,07,53,75,63,63,65,73,73,00,00,00,00,
Status/error code: 0
(ECommand) Error listing directory '/TECH/u/ts00086'.
Invalid access to memory
Startup conversation with host finished.
The mainframes are behind our firewalls, so I can't allow outside access.

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar

Re: Out of memory error connecting to SFTP on IBM zOS

I have sent you an email with link to potentially fixed version.

Reply with quote

rpnix

Re: Out of memory error connecting to SFTP on IBM zOS

I tested the version you referenced in the e-mail, and it does work. I've also forwarded the link to several others here, to give it a more complete test. If we find anything wrong, I'll let you know, but at this point, it looks good.

Thanks. :D

Reply with quote E-mail

Advertisement

You can post new topics in this forum