EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElSSHClient SSH authentication questions

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#6067
Posted: 05/02/2008 07:11:53
by Charles DeWeese (Standard support level)
Joined: 04/17/2008
Posts: 53

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: 53

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: 53

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: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 1767 times

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




|

Back to top

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

Got it!