EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SSH simple terminal connection to Avaya media gateway

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#20410
Posted: 06/11/2012 12:22:28
by Christophe Peretti (Standard support level)
Joined: 06/06/2012
Posts: 6

Dear Sir,

try to start developpement with secureblackbox, specially tunnel to/and SSH terminal.

starting with SSHdemo with Ip address of Avaya mediagateway and port 22 setted in connection properties (SSHv1 and SSHv2 checked) i receive error during connection process : Error 6

Server key received (DSS). Fingerprint is c1:6a:a3:cb:17:56:a5:e1:4d:8e:f3:b2:24:2e:ad:d3
Error: 6

i haven't idee if this demo will be usefull for a simple SSH connection (port 22)

thanks in advance and best regards

Christophe
#20411
Posted: 06/11/2012 12:31:58
by Ken Ivanov (EldoS Corp.)

Christophe, thank you for getting in touch with us.

1) Please try to set the AutoAdjustCiphers property to true and check if it changes anything.

2) If (1) doesn't help, please follow the steps described here (it is a good idea to try step 5 first).
#20412
Posted: 06/11/2012 14:24:11
by Christophe Peretti (Standard support level)
Joined: 06/06/2012
Posts: 6

Hello Ivanov

thanks you for your message, i have some progress with AutoAdjustCiphers to true
now i have a window openn to ask me for a password ?

no idee what is necessary to write

please find below events log

Client socket connected
Server key received
Authentication attempt failed, AuthType=16
Error: 114

Server software identified itself as: OpenSSH_3.5p1
Connection closed.


Thanks again for your help

have a great evening

Christophe
#20413
Posted: 06/11/2012 16:17:32
by Ken Ivanov (EldoS Corp.)

This is what is called keyboard-interactive authentication. If this type of authentication is chosen by the server, it asks the client a set of authentication-related questions through the OnAuthenticationKeyboard event. In most cases that set consists of a single question of the client's password.

You should either display those questions to the user and send back their answers, or remove the OnAuthenticationKeyboard event handler. In the latter case the component will automatically handle the question, sending back the password assigned to the Password property.
#20417
Posted: 06/12/2012 02:40:23
by Christophe Peretti (Standard support level)
Joined: 06/06/2012
Posts: 6

Good morning Mr Ivanov

Thanks for your help

i have removed event : OnAuthenticationKeyboard,

in this case i not see any more Password's window but same error coming in events log.

Client socket Connecting
Client socket connected
ClientSocket1Write
Server key received
Authentication attempt failed, AuthType=16
Error: 114

Server software identified itself as: OpenSSH_3.5p1

Thanks and best regards

Christophe
#20418
Posted: 06/12/2012 03:33:24
by Ken Ivanov (EldoS Corp.)

Could you please confirm that you are assigning correct username and password to the corresponding properties of the SSH component?
#20419
Posted: 06/12/2012 04:00:51
by Christophe Peretti (Standard support level)
Joined: 06/06/2012
Posts: 6

Hello Ivanov

thanks for your message (password was wrong) now i am connected to Avaya mediagateway but receive funny caracters from it ?

like : 2ES Cryptographic Providerㄠ′啊⁎〲㈱ഠ䴊

thanks and best regards

Christophe
#20420
Posted: 06/12/2012 04:22:27
by Ken Ivanov (EldoS Corp.)

It can be that the server uses a different character encoding, at least the piece of data you've referenced doesn't look like terminal protocol. Do you get the same rubbish if connecting via other SSH client tools (e.g. Putty)?
#20421
Posted: 06/12/2012 04:23:24
by Ken Ivanov (EldoS Corp.)

A quick follow-up: may I also ask you to specify the exact sample you are trying (with complete path to it)?
#20422
Posted: 06/12/2012 04:31:49
by Christophe Peretti (Standard support level)
Joined: 06/06/2012
Posts: 6

Hello

sample is : sshblackbox\client\clientdemo\sshdemo.exe

with putty totaly standard setting i have this answer from Avaya media gateway

login as: tocdemo
This system is restricted solely to authorized users for legitimate business
purposes only. The actual or attempted unauthorized access, use or modifications
of this system is strictly prohibited. Unauthorized users are subject to
company disciplinary procedures and or criminal and civil penalties under state,
federal or other applicable domestic and foreign laws.

The use of this system may be monitored and recorded for administrative and
security reasons. Anyone accessing this system expressly consents to such
monitoring and recording, and is advised that if it reveals possible evidence
of criminal activity, the evidence of such activity may be provided to law
enforcement officials.

All users must comply with all corporate instructions regarding the protection
of information assets.
Using keyboard-interactive authentication.
Password:




Survivable-call-engine is disabled

IGVA3040-015(super)#


thanks and best regards

Ch
Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.

Reply

Statistics

Topic viewed 3815 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!