Re: SSH question

"Mathias Spoerr" <[email protected]>
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Hi Peter,

thank you very much for your answer. I think I will see if I find some other
way...

Thanks,
Mathias

-----Ursprüngliche Nachricht-----
Von: Peter Gutmann [mailto:[email protected]] 
Gesendet: Montag, 05. März 2012 07:25
An: [email protected]; [email protected]
Betreff: Re: [Cryptlib] SSH question

Mathias Spoerr <[email protected]> writes:

>is it somehow possible to read the pre-Authenticaion prompt when using SSH?
>-> A device sends some data before authentication and I would need this
>string for further analysis.
>
>At the moment I only get the receive data after authentication.

No, there's no easy way to get to it since there's all sorts of optional
info that the other side can send in various place (e.g. in so-called pam
auth messages), if you wanted to extract custom data you'd have to change
the code in session/ssh2_authc.c to pick out the bits you're interested in
(see the code and code comments for how incredibly complex this can get).

Peter.


_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.