Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2020, 11:59 AM
Outlaw99775 Outlaw99775 is offline
Registered User
 
Join Date: Mar 2020
Posts: 4
Can't Accept and Save New Host Key



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.
Attached Images
File Type: png accept-and-save.png (13.8 KB, 143 views)

Last edited by jjh; 03-12-2020 at 05:39 PM. Reason: Upload/embed graphics; do not link to third party websites
Reply With Quote
  #2  
Old 03-12-2020, 12:39 PM
jjh jjh is offline
VanDyke Customer Support
 
Join Date: Feb 2004
Posts: 815
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
Reply With Quote
  #3  
Old 03-12-2020, 01:04 PM
Outlaw99775 Outlaw99775 is offline
Registered User
 
Join Date: Mar 2020
Posts: 4
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.

files:
Reply With Quote
  #4  
Old 03-12-2020, 03:31 PM
jjh jjh is offline
VanDyke Customer Support
 
Join Date: Feb 2004
Posts: 815
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
Reply With Quote
  #5  
Old 03-12-2020, 04:55 PM
Outlaw99775 Outlaw99775 is offline
Registered User
 
Join Date: Mar 2020
Posts: 4
Quote:
Originally Posted by jjh View Post
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.
Reply With Quote
  #6  
Old 03-12-2020, 06:08 PM
jjh jjh is offline
VanDyke Customer Support
 
Join Date: Feb 2004
Posts: 815
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
Reply With Quote
  #7  
Old 03-13-2020, 12:52 PM
Outlaw99775 Outlaw99775 is offline
Registered User
 
Join Date: Mar 2020
Posts: 4
Quote:
Originally Posted by jjh View Post
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 View Post
Does removing those entries allow you to accept and save the host key?
JJH
Yeah, that fixed it! Wow thanks so much!
Reply With Quote
  #8  
Old 03-13-2020, 03:23 PM
jjh jjh is offline
VanDyke Customer Support
 
Join Date: Feb 2004
Posts: 815
Thanks for letting me know. I'm glad that helped.

JJH
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:37 PM.