-
Notifications
You must be signed in to change notification settings - Fork 6
Allow customizing StrictHostKeyChecking #22
Comments
Since this should be a library that works for everybody, I don't think it should be opinionated about these things, it should be up to the user to determine the security impact. So in principle, no doubts in making this configurable as long as we stick with a secure default. I'm wondering though: Isn't |
Probably that would be the right place yes, but that option should reside in the config, which I don't think at the moment it can is passed in. All this, if I understand things right of course 😄 |
I think you understand things right :) I just had the assumption in the back of my head that jsch just reads the normal |
They might both work fine, so I am ok with either 😁 |
Hello folks (again) 😁 !
I was trying to test my code against a repo and run into a
UnknownKeyHost
exception.After some googling, it looks like what I really need it to correctly setup the
known_host
file on the machine.However, I was wondering whether passing a configurable
StrictHostKeyChecking
is a good idea:Java does
I saw that you have a proxy there so the change is straightforward, just wondering if you are interested or consider that "too much of a security risk". I see it as a debug feature.
Thanks!
The text was updated successfully, but these errors were encountered: