VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   Can't Accept and Save New Host Key (https://forums.vandyke.com/showthread.php?t=14107)

Outlaw99775 03-12-2020 11:59 AM

Can't Accept and Save New Host Key
 
1 Attachment(s)
https://forums.vandyke.com/attachmen...achmentid=1847

Sorry if this has been posted before, but I couldn't find the answer in another thread.

Anyone know why it wont allow me to Accept and Save?

I am using windows 10 and Version 8.0.4 of SecureCRT.

jjh 03-12-2020 12:39 PM

Hi Outlaw99775

When you accept and save a host key, it gets stored in the "KnownHosts" folder, which can be found within your Config folder with a default installation. If you aren't able to accept and save a host key, the first thing I would do is to make sure that the Config folder or the KnownHosts folder is not Read Only.

Are you able to manually save a file in your KnownHosts folder?

Thanks

JJH

Outlaw99775 03-12-2020 01:04 PM

JJH,

The folder is Read-Only, but the files in it are not. That's the way our company sets up our computers, I am hoping that's not the only issue as my co-workers don't have the same issue.
https://ibb.co/BfDsL6f
files:
https://ibb.co/47LtdgP

jjh 03-12-2020 03:31 PM

As a test, if you change the permissions on the KnownHosts folder so that it is writeable, are you able to accept and save the host key?

JJH

Outlaw99775 03-12-2020 04:55 PM

Quote:

Originally Posted by jjh (Post 53176)
As a test, if you change the permissions on the KnownHosts folder so that it is writeable, are you able to accept and save the host key?

JJH

it wont let me change the file to writeable.

"Are you able to manually save a file in your KnownHosts folder?"

Yes, I can write/change the files in the folder.

jjh 03-12-2020 06:08 PM

I think the issue is that you ended up with multiple entries for the same host in your host key database. I would like to see what your HostKeyDB.txt file looks like.

Would you be able to send me a copy of your HostKeyDB.txt file to support@vandyke.com?

Please make a reference to this forum thread in your message. After you provide that file, try removing all entries related to the host that you are connecting to.

Does removing those entries allow you to accept and save the host key?

Thanks

JJH

Outlaw99775 03-13-2020 12:52 PM

Quote:

Originally Posted by jjh (Post 53178)
Would you be able to send me a copy of your HostKeyDB.txt file to support@vandyke.com?
JJH

I think they would walk me out of the building if I did that...


Quote:

Originally Posted by jjh (Post 53178)
Does removing those entries allow you to accept and save the host key?
JJH

Yeah, that fixed it! Wow thanks so much!

jjh 03-13-2020 03:23 PM

Thanks for letting me know. I'm glad that helped.

JJH


All times are GMT -6. The time now is 10:28 PM.