EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElSSHClient SSH authentication questions

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#6067
Posted: 05/02/2008 07:11:53
by Charles DeWeese (Standard support level)
Joined: 04/17/2008
Posts: 52

1. Is there way to determine which authentication method was accepted during a ssh login?

2. How do I handle an authentication type SSH_AUTH_TYPE_KEYBOARD. I setup a TElSSHClient.OnAuthenticationKeyboard event but it doesn't get called.
#6068
Posted: 05/02/2008 07:29:09
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

1. You should take a look on events OnAuthentificationSuccess/Attempt/Failed of TElSSHClient.
2. This event is not fired, when server accepted previous auth method(s), or doesn't request keyboard-interactive auth.
#6069
Posted: 05/02/2008 08:00:40
by Charles DeWeese (Standard support level)
Joined: 04/17/2008
Posts: 52

Thank you somehow I missed the Attempt event.

2. I figured out my mistake. Thank you.

EDITD
#6070
Posted: 05/02/2008 08:50:28
by Charles DeWeese (Standard support level)
Joined: 04/17/2008
Posts: 52

Is it normal for a server to indicate that it supports supports SSH_AUTH_TYPE_KEYBOARD but then fails without calling SSHClient.OnAuthenticationKeyboard?
#6071
Posted: 05/02/2008 08:55:45
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

It is possible, that server supports keyboard-interactive auth, but such auth type is not enabled or permitted for the user.
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 1662 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!