Skip to content

The shared SFTP session is closed prematurely #9909

Closed
@artembilan

Description

@artembilan

With the new DefaultSftpSessionFactory(true), the SftpSession.close() leads to the problem in concurrent environment:

java.io.UncheckedIOException: org.apache.sshd.common.SshException: Channel is being closed

More info in: apache/mina-sshd#527

Right now the workaround is to use CachingSessionFactory which does not initiate a physical close of the client session.

This is a side effect of the fix from: #9272.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions