Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm using Linux Debian 3 on my router and Windows XP on my computer.
I would like to connect from my computer to router with SSH2 RCA connection. I want use PuTTY. I don't know how to generate keys on router and my computer and how to use this thing.... is there a guide or something? I can't find anything.
i don't remember putty all that well but in the settings somewhere there's a place to add your public key (private? i can never remember which goes where...) or a reference to the file it is in. Yes, i remember now.. it's the public key that you put on different systems that you want to connect to, private is sent when you wish to connect. I normally use dsa instead of rsa, but i think the files are still the same.
Okey, now i generated my public and pritave ssh2 rsa key using PuTTYgen. I put my public key into /root/.ssh/, but it's not working . When i run sshd it wants host key - why do i need this key anyway? Isn't one pair enough?
Don't login as root. Add another protection layer by logging in as a regular user and sudo to root when necessary.
Sshd needs it's own host keys to be able to "talk" encrypted with other servers. Missing sshd's own key set means you gotta set up your sshd properly first.