What's new

ssh from router to mac - where is id_rsa.pub?

  • 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!

bozolino

Occasional Visitor
i try to set up a keyfile authorized ssh connection from asus-wrt to a mac. where on the asus' file system can i find the router's pubkey used by ssh? (on a mac it'd be @ ~.ssh/id_rsa.pub). i need that key to enter it in the mac's authorized_keys...
 
i try to set up a keyfile authorized ssh connection from asus-wrt to a mac. where on the asus' file system can i find the router's pubkey used by ssh? (on a mac it'd be @ ~.ssh/id_rsa.pub). i need that key to enter it in the mac's authorized_keys...

There's no persistent storage on the router, any key you put in your ~/.ssh/ directory will be wiped out on the next reboot.
 
thanks! is there a possible boot script solution? to store public and private key files in flash and copy them to ram at boot time?
 
Last edited:
thanks! is there a possible boot script solution? to store public and private key files in flash and copy them to ram at boot time?

You could try that. You will have to check the dropbear documentation to determine the actual filename to use. Location would probably be ~/.ssh/ since that's where they already have a known_hosts.
 

Similar threads

Latest 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