Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-06-2002, 02:28 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2002
Posts: 17
Rep:
|
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
|
|
|
|
11-06-2002, 02:40 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
there should be enough information in the manpage for ssh-keygen
|
|
|
|
11-06-2002, 02:40 PM
|
#3
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
there should be enough information in the manpage for ssh-keygen
|
|
|
|
11-07-2002, 02:46 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2002
Posts: 17
Original Poster
Rep:
|
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?
|
|
|
|
11-07-2002, 03:06 PM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
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.
|
|
|
|
11-08-2002, 09:10 AM
|
#6
|
|
LQ Newbie
Registered: Nov 2002
Posts: 17
Original Poster
Rep:
|
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?
|
|
|
|
11-11-2002, 08:05 AM
|
#7
|
|
Moderator
Registered: May 2001
Posts: 24,808
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:14 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|