gliderlabs / gliderlabs/ssh

Generic error while opening channel

Open
#254 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4.2k
Forks
509
PR merge metrics
No merged PRs in 30d

Description

I have an Apache MINA client that tries to open a TCPForwardChannel, but on the server I see the following error

`{"time":"2025-12-03T13:17:19.280423473Z","level":"INFO","msg":"ssh: rejected: unknown reason 0 (IOException while opening channel: Generic error while opening channel: 30)"} `

Is there a way to find out what Channelhandler I should register to answer this case?

That's the MINA logs if it helps

```
2025-12-03 14:23:46.059 LoggingChannelListener channelInitialized DEBUG:
Remote port forward channel initialized: type=TcpipServerChannel, tcpipType=Forwarded, originator=null, tunnelEntrance=null
2025-12-03 14:23:48.111 LoggingChannelListener channelOpenFailure WARNING:
Remote port forward channel failed to open: type=TcpipServerChannel, tcpipType=Forwarded, originator=10.244.1.8:34464, tunnelExit=localhost:9091, reason=java.io.IOException: The remote computer refused the network connection
2025-12-03 14:23:48.113 LoggingChannelListener channelClosed DEBUG:
Channel closed: type=TcpipServerChannel, reason=null
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.