EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElSSHClient SSH authentication questions

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#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: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

Topic viewed 1633 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!