LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 11-06-2002, 02:28 PM   #1
Shark
LQ Newbie
 
Registered: Nov 2002
Posts: 17

Rep: Reputation: 0
Question 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
 
Old 11-06-2002, 02:40 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,407

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
there should be enough information in the manpage for ssh-keygen
 
Old 11-06-2002, 02:40 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,407

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
there should be enough information in the manpage for ssh-keygen
 
Old 11-07-2002, 02:46 PM   #4
Shark
LQ Newbie
 
Registered: Nov 2002
Posts: 17

Original Poster
Rep: Reputation: 0
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?
 
Old 11-07-2002, 03:06 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,407

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
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.
 
Old 11-08-2002, 09:10 AM   #6
Shark
LQ Newbie
 
Registered: Nov 2002
Posts: 17

Original Poster
Rep: Reputation: 0
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?
 
Old 11-11-2002, 08:05 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,374
Blog Entries: 54

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to make mod_ssl work - virtualhosts make trouble Belize Linux - Software 0 02-26-2005 08:30 PM
How do I make a change to a current kernel? Would 'make oldconfig' work... jtp51 Slackware 11 11-01-2004 11:02 PM
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 10:58 AM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM
./configure , make and make install does not work mobassir Linux - Software 7 07-30-2003 09:20 AM


All times are GMT -5. The time now is 06:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration