Known issue with Solaris SSH server

Some old SSH servers, most notably the version shipped with Solaris do not operate as excepted when opening multiple session channels over the SSH2 protocol. Although the SSH2 protocol supports concurrent multple sessions, when connecing to these 'broken' servers the first session will be opened correctly but after the first session has been closed the server silently disconnects the connection. The next call to open a session, or perform any form of socket operation will result in an exception.

In order to workaround this server problem we advise that you open the first session channel and initialize it by starting the users shell, leaving it open for the duration of the connection. This enables multiple sessions to operate in the correct manner since the first session never gets closed allowing the server to operate as expected.

Have more questions? Submit a request


Please sign in to leave a comment.