Skip to content

Tectia SSH Server on z/OS mainframe #1243

@mmaguigan

Description

@mmaguigan

I have seen this mentioned before in the issues, but when connecting to a Tectia SSH server on an IBM mainframe, this error immediately occurs at connection:

System.NotSupportedException: Data longer than 2147483647 is not supported.

I would be happy to investigate patching the issue myself if some initial guidance could be provided.

EDIT:

Stacktrace is below

   at Renci.SshNet.Messages.Transport.IgnoreMessage.LoadData()
   at Renci.SshNet.Common.SshData.LoadInternal(Byte[] value, Int32 offset, Int32 count)
   at Renci.SshNet.Common.SshData.Load(Byte[] data, Int32 offset, Int32 count)
   at Renci.SshNet.Session.LoadMessage(Byte[] data, Int32 offset, Int32 count)
   at Renci.SshNet.Session.ReceiveMessage(Socket socket)
   at Renci.SshNet.Session.MessageListener()
--- End of stack trace from previous location ---
   at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
   at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle)
   at Renci.SshNet.Session.ConnectAsync(CancellationToken cancellationToken)
   at Renci.SshNet.BaseClient.CreateAndConnectSessionAsync(CancellationToken cancellationToken)
   at Renci.SshNet.BaseClient.ConnectAsync(CancellationToken cancellationToken)
   at UserQuery.Main(), line 17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions