Can't conect using ssh

Topics: Developer Forum, User Forum
Oct 24, 2011 at 4:13 PM

Hi there. First of all, sorry for my pour english.

I love the software for RDC, but just not working in SSH protocols.

I tested the connection in putty and it's working, but with terminals I can't connect. This is the log:

INFO  2011-10-24 13:12:50,459 1413658ms Terminals              SaveHistory        - Saving HistoryINFO  2011-10-24 13:12:50,464 1413663ms Terminals              SaveHistory        - Done Saving HistoryINFO  2011-10-24 13:12:50,464 1413663ms Terminals              SaveHistory        - Save History Duration:5msINFO  2011-10-24 13:12:50,466 1413665ms Terminals              LoadHistory        - Loading History:History.xmlINFO  2011-10-24 13:12:50,468 1413667ms Terminals              Connect            - Connecting to a SSH ConnectionINFO  2011-10-24 13:12:50,469 1413668ms Terminals              LoadHistory        - Done Loading HistoryINFO  2011-10-24 13:12:50,475 1413674ms Terminals              LoadHistory        - Load History Duration:8msERROR 2011-10-24 13:13:07,040 1430238ms Terminals              Decrypt            - Decryptor FailedSystem.Security.Cryptography.CryptographicException: Comprimento inválido dos dados a serem descriptografados.   em System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)   em System.Security.Cryptography.CryptoStream.FlushFinalBlock()   em Unified.Encryption.Decryptor.Decrypt(Byte[] bytesData, Byte[] bytesKey)ERROR 2011-10-24 13:13:07,042 1430240ms Terminals              DecryptPassword    - Error Decrypting PasswordSystem.Exception: Error while writing encrypted data to the stream: Comprimento inválido dos dados a serem descriptografados.   em Unified.Encryption.Decryptor.Decrypt(Byte[] bytesData, Byte[] bytesKey)   em Terminals.Functions.DecryptPassword(String encryptedPassword)FATAL 2011-10-24 13:13:07,043 1430241ms Terminals              Connect            - Connecting to SSH2 ConnectionSystem.InvalidOperationException: Password property is not set   em Routrek.SSHC.SSHConnection.Connect(SSHConnectionParameter param, ISSHConnectionEventReceiver receiver, Socket underlying_socket)   em SSHClient.Protocol.Connect(Socket s)   em Terminals.Connections.TerminalConnection.Connect()

Coordinator
Oct 24, 2011 at 4:24 PM

Hi,

is it possible to provide more info, about your ssh server and client configuration, because it isn't visible from the log, you provided?

Oct 24, 2011 at 4:52 PM

This is the configuration of terminals (client)

http://dl.dropbox.com/u/23080098/Screen%20Shot%202011-10-24%20at%2013.47.03.png

http://dl.dropbox.com/u/23080098/Screen%20Shot%202011-10-24%20at%2013.47.14.png

 

This is the configuration when I connect with putty

http://dl.dropbox.com/u/23080098/Screen%20Shot%202011-10-24%20at%2013.47.53.png

http://dl.dropbox.com/u/23080098/Screen%20Shot%202011-10-24%20at%2013.48.04.png

 

With putty I can connect, so I think the problem it's not in the ssh server. I want to know how can I connect with terminals like I connect with putty.

Again, sorry for my pour english!

Congrats for this wonderful software and thanks for your help.

Oct 26, 2011 at 7:08 PM

try to set "root" username in connection properties and try to use "password" aithentification method

Oct 26, 2011 at 8:55 PM

Still not working.

Even with password marked or keyboard interactive! :/

 

http://dl.dropbox.com/u/23080098/Screen%20Shot%202011-10-26%20at%2016.12.01.png

http://dl.dropbox.com/u/23080098/Screen%20Shot%202011-10-26%20at%2016.12.23.png

http://dl.dropbox.com/u/23080098/Screen%20Shot%202011-10-26%20at%2016.12.32.png

Oct 26, 2011 at 9:19 PM

maybe it must be ssh1  ?

what error do you get ?

Oct 26, 2011 at 9:26 PM

In putty it's working with ssh2, but I tried ssh1 in terminals. Not working yet. :/

 

http://dl.dropbox.com/u/23080098/Screen%20Shot%202011-10-26%20at%2018.22.43.png

 

This is the log:

INFO  2011-10-26 18:24:21,533 216587ms Terminals              SaveHistory        - Saving HistoryINFO  2011-10-26 18:24:21,533 216587ms Terminals              SaveHistory        - Done Saving HistoryINFO  2011-10-26 18:24:21,533 216587ms Terminals              SaveHistory        - Save History Duration:5msINFO  2011-10-26 18:24:21,533 216587ms Terminals              LoadHistory        - Loading History:History.xmlINFO  2011-10-26 18:24:21,533 216587ms Terminals              Connect            - Connecting to a SSH ConnectionINFO  2011-10-26 18:24:21,533 216587ms Terminals              LoadHistory        - Done Loading HistoryINFO  2011-10-26 18:24:21,548 216603ms Terminals              LoadHistory        - Load History Duration:5msERROR 2011-10-26 18:24:26,105 221160ms Terminals              Decrypt            - Decryptor FailedSystem.Security.Cryptography.CryptographicException: Comprimento inválido dos dados a serem descriptografados.   em System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)   em System.Security.Cryptography.CryptoStream.FlushFinalBlock()   em Unified.Encryption.Decryptor.Decrypt(Byte[] bytesData, Byte[] bytesKey)ERROR 2011-10-26 18:24:26,105 221160ms Terminals              DecryptPassword    - Error Decrypting PasswordSystem.Exception: Error while writing encrypted data to the stream: Comprimento inválido dos dados a serem descriptografados.   em Unified.Encryption.Decryptor.Decrypt(Byte[] bytesData, Byte[] bytesKey)   em Terminals.Functions.DecryptPassword(String encryptedPassword)FATAL 2011-10-26 18:24:26,105 221160ms Terminals              Connect            - Connecting to SSH2 ConnectionSystem.InvalidOperationException: Password property is not set   em Routrek.SSHC.SSHConnection.Connect(SSHConnectionParameter param, ISSHConnectionEventReceiver receiver, Socket underlying_socket)   em SSHClient.Protocol.Connect(Socket s)   em Terminals.Connections.TerminalConnection.Connect()

Oct 26, 2011 at 9:47 PM

This is a video of a try connect on putty and then on terminals:

 

http://www.youtube.com/watch?v=YCj1fRFtWNg

 

Any help will be glad! Thanks!

 

Sorry for my pour english!

Oct 26, 2011 at 11:50 PM

as i can see this is a master password bug. try to delete master passsword

Coordinator
Oct 27, 2011 at 8:20 AM
Edited Oct 31, 2011 at 4:30 PM

Sorry, i didn't read carefully. From your log i see, that it is connected to the stored password resolution, yes, there is a bug already fixed in source code. As workaround you can try to remove the master password as already noticed above.

Nov 3, 2011 at 2:26 PM

Hello All,

I had moved away from Terminals due to lack of SSH support but thought I would come back and give it another shot.  I downloaded source code 93957 but still no luck with password and keyboard-interactive authentication.  Get basically same log output and errors messages as above.  This was a fresh install with no master password stored.  Any hints would be great as I really want to use this program but can't due the SSH troubles.

Thanks again