-
Notifications
You must be signed in to change notification settings - Fork 606
Closed
Description
In my project, I have logic like this:
SSHClient sshClient = new SSHClient();
sshClient.addHostKeyVerifier(new PromiscuousVerifier());
sshClient.connect("host");
sshClient.authPassword("xxx", "xxx");
for (int i = 0; i < 100; i++) {
try (Session sshSession = sshClient.startSession()) {
Session.Command sshCommand = sshSession.exec("echo hello");
IOUtils.readFully(sshCommand.getInputStream());
}
}
sshClient.disconnect();
However, this throws IOException "ieof packet referred to nonexistent channel", especially when connecting localhost and running in parallel after I upgrade sshj from 0.31 to 0.32.
Metadata
Metadata
Assignees
Labels
No labels