login about faq

I am somewhat new to writing code for SSH communication. I noticed that when using programs like Putty or TeraTerm, when connecting to a new host, I am always prompted to accept the new hosts RSA Host Key Fingerprint. After that, the fingerprint is cached and I no longer get prompted. I noticed that when using the Chilkat libraries (per the online examples), I am never prompted to accept any fingerprints. Is there a way to add this functionality?

asked Aug 09 '13 at 14:16

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


It would never make sense for the Chilkat lib to initiate any kind of interaction with a user-interface. This is because the Chilkat API's are non-visual, and can most certainly be used in many environments where there is no user-interface -- such as in Windows services, batch/cron jobs, server-side web apps, etc. There is a property named HostKeyFingerprint that your app may use if it wishes. It would be up to your application to keep a list, perhaps in a file, of already-accepted hostkey fingerprints, and it would be up to your app to write code to display a dialog box, etc.

link

answered Aug 09 '13 at 14:20

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×89
×1
×1

Asked: Aug 09 '13 at 14:16

Seen: 1,258 times

Last updated: Aug 09 '13 at 14:20

powered by OSQA