LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   How to make SSH2 RSA work? (https://www.linuxquestions.org/questions/linux-security-4/how-to-make-ssh2-rsa-work-34744/)

Shark 11-06-2002 02:28 PM

How to make SSH2 RSA work?
 
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.

Thanks, Shark

acid_kewpie 11-06-2002 02:40 PM

there should be enough information in the manpage for ssh-keygen

acid_kewpie 11-06-2002 02:40 PM

there should be enough information in the manpage for ssh-keygen

Shark 11-07-2002 02:46 PM

So I read manpage of ssh-keygen and i made host key - now i want to connect from my computer to router using putty. Do i have to transfer public or private key to my computer?

acid_kewpie 11-07-2002 03:06 PM

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.

Shark 11-08-2002 09:10 AM

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?

unSpawn 11-11-2002 08:05 AM

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.


All times are GMT -5. The time now is 02:31 AM.