OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

ssh w/ key authentication

 
Learn about scoring Download Discussion's Raw Score: 136804.0
September 5, 2011 06:21 AM
Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

wabe

Member

Hi Kong

Use your build 17140 with very good results on an ASUS RT-N16 router! Have one issue that haven't been present on earlier dd-wrt builds:

When accessing the router using ssh (PUTTY) with key authentication I get the message that the "finger print" has changed after the router is rebooted. Have you any idea why this happens? Any other encountered this problem?

Discussion:    Add a Comment | Comments 1-7 of 7 | Latest Comment

September 5, 2011 9:31 AM

Does this happen with every reboot?

The fingerprint (ssh keys of the router) should only change in case the router was reset. If it still happens with every boot, then there must be a problem with nvram, maybe no space left etc.

You can check this by running command:

nvram get sshd_rsa_host_key

then reboot and run the command again, the key should still be the same.

September 5, 2011 9:45 AM

It happens everytime - consistently. I'll check using your command. Someone on the dd-wrt forum adviced me to check free nvram space and I did - there was space left.

September 5, 2011 12:09 PM

Tried your command (nvram get sshd_rsa_host_key)-
it display the actual key not the fingerprint however

September 5, 2011 5:31 PM

The ssh server sends the fingerprint not the private rsa_host key, but if the host key did not change, which you verified by nvram get, then the fingerprint will stay the same.
Maybe your client is not updating the know_hosts file after you accepted the new fingerprint once?

September 6, 2011 4:00 AM

Kong said:  Maybe your client is not updating the know_hosts file after you accepted the new fingerprint once?
I'm pretty sure that the 'fingerprint' is written to the file since the message about changed fingerprint just appears once after the router is rebooted. The router reboots once a week at a set time. This is strange

September 6, 2011 4:43 PM updated: September 6, 2011 4:47 PM

Not sure where the problem lies, I just know it has been working for me with every build I released so far using putty and linux ssh client.

September 7, 2011 4:01 AM

I've upgraded to your latest build. Let's see if that take care of the problem.

Discussion:    Add a Comment | Back to Top | Comments 1-7 of 7 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window