Hi,
I am using an SSH RSA key to authenticate against one of the servers. However, I get the following exception in the SLSSH.txt file. The same exception comes up when using the username/password to authenticate.
Connect exception: Tamir.SharpSsh.jsch.JSchException: Session.connect: System.IO.IOException: End of IO Stream Read
at Tamir.SharpSsh.jsch.IO.getByte(Byte[] array, Int32 begin, Int32 length)
at Tamir.SharpSsh.jsch.Session.read(Buffer buf)
at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)
at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)
at Tamir.SharpSsh.jsch.Session.connect()
at Tamir.SharpSsh.SshBase.ConnectSession(Int32 tcpPort)
at Tamir.SharpSsh.SshBase.Connect(Int32 tcpPort)
at Skyline.SSH.SshConnection.Connect()
I have tried to use the key with putty and it is all working fine.
Hi Saddam,
Can you please let us know what driver you are using and which DataMiner version you are running?
Can you verify if the following files are present on the DataMiner server:
- C:\Skyline DataMiner\Files\Org.Mentalis.Security.dll
- C:\Skyline DataMiner\Files\DiffieHellman.dll
Hi Ive,
I am developing an SSH driver to communicate with the host. Our DM version is 9.6.10.
I think I found the issue and it is related to the version of OpenSSH on the host, which is OpenSSH 8.0. I followed the advice in the following question and eventually got it to work:
Thank you for your feedback Saddam!
I actually started to see the following error:
2021-03-25 09:43:03 – -1 – Sent SSH_MSG_USERAUTH_REQUEST for user ‘System.Byte[]’ (query abilities)
2021-03-25 09:43:03 – -1 – publickey auth failure for ‘C:SSH_Keys\bcamadm_r_test’ (SSH_MSG_USERAUTH_FAILURE received after SSH_MSG_USERAUTH_REQUEST)
Do you know what the issue would be?
We checked the host ssh config and it is allowing the following:
RSAAuthentication yes
PubkeyAuthentication yes
As this question has been inactive for a long time, we will now close it. If you still want further information, could you post a new question?