What's new

SSH with RSA Keys on AC66U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

olaffe

New Around Here
First of all, thanks to Merlin for this great Firmare!

I just started using it on my AC66U and have a probably trivial question... just couldn't find the answer here, maybe someone could help.

Automatic login with RSA Keys for SSH works fine, but since the .ssh/authorized_keys file gets lost on a reboot, I am a bit puzzled on how to get it function permanently.

Is there any way to get the .ssh/authorized_keys file on a permanent part of the filesystem and have it considered by the sshd?

Thanks a lot
 
OK, I am stupid...

Saw this in merlins code for sshd:
f_write_string("/root/.ssh/authorized_keys", get_parsed_crt("sshd_authkeys", buf), 0, 0700);
so I put it in the nvram...

only to find out, that it is much easier...

It is actually the field "SSH Authentication key" in the Web-Interface, which I expected to be the Server Authentication.
Works perfectly :)

Thanks anyway
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top