What's new

SSH With Keys

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

RacerRon

Regular Contributor
Can anyone point me to a Asus Merlin SSH keys for dummies guide ? I have read several threads and did generate keys but can not seem to make this work. With the current ssh issues I have been seeing, I think key access is better than name/password. Thanks
 
I used Michael Lucas' book SSH Mastery (Chapter 7) for guidance. It was a couple of years back now and I didn't bother to jot down any notes, which means I found it easy. So I guess I might have followed this sentence in his book:
"If your server runs a recent OpenSSHversion run ssh-keygen -A as root to automatically generate all supported but missing host keys."

I'm not sure but I think you can also generate them in Putty. But take note of Merlin's advice, and if you have problems getting it to work, check the format. I have a vague memory of having to go back and insert a return at the end of a line or something like that. By no means difficult
 
I checked Putty; it doesn't generate key pairs, but puttygen.exe, which is contained in the zipped Putty package, does, and, having had a quick play with it, I now feel certain that I have used this in the past. Certainly, I'd suggest you look at using that before anything else.

And if you end up copying or pasting the keys into an editor (though I'm sure there is no need to), remember you cannot use Notepad; you must use an editor that supports the Unix/Linux format eg Notepad++ (which, as ColinTaylor has pointed out, can be made the default WinSCP editor http://www.snbforums.com/threads/help-with-custom-scripts.34950/#post-283272 ) and make sure it's set to that format. So avoid, but if you must, beware.
 
Last edited:
Thanks guys. I will give it another try. I was doing exactly what the Tomato guide was instructing but was a 2048 key.
 

Latest threads

Sign Up For SNBForums Daily Digest

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