LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-07-2004, 07:45 PM   #1
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Rep: Reputation: 30
ssh question???


i have came across some kind of authentication using public key and private key.
so, how am i going to engage my ssh with a private key and public key.
FYI, i am testing it on my RH8 machine. if it is workable i will put it into my production server (RH8).
so, basically, i wan to know how to generate private/public key? and also, how am i binding my ssh channel for the key authentication?
thanks..
 
Old 03-07-2004, 08:06 PM   #2
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
ssh-keygen

I have no idea what you mean by the last question.
 
Old 03-07-2004, 08:19 PM   #3
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Original Poster
Rep: Reputation: 30
i mean, once i generated the key. how am i going to use the keys with ssh?
 
Old 03-07-2004, 08:23 PM   #4
mhiggins
Member
 
Registered: Feb 2004
Posts: 140

Rep: Reputation: 15
As the above post states use ssh-keygen to make your keys. As for your last question
if I read you correctly you want to only allow keyed authentication, as apposed to the standard password auth? To do this you edit sshd_config change the PasswordAuthentication option to no.

-Matt
 
Old 03-07-2004, 08:57 PM   #5
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
You might find this Linux Answers post to be helpful:

http://www.linuxquestions.org/questi...ticle&artid=79
 
Old 02-25-2005, 03:49 PM   #6
edafe
Member
 
Registered: Feb 2005
Posts: 44

Rep: Reputation: 15
Step-by-step instructions on how to use public key authentication with SSH:

http://www.edafe.org/slackware/index...authentication

Regards,
Edafe
 
  


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
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 04:09 AM
Question on SSH ? brokenflea Slackware 7 10-27-2004 10:25 AM
SSH Question... Flipper Linux - Newbie 4 07-20-2003 04:29 PM
ssh question pdelucia Linux - Security 1 07-09-2003 03:54 PM
question about ssh minor Linux - Security 7 05-20-2001 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration