LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-10-2013, 12:45 AM   #1
beyond
LQ Newbie
 
Registered: Feb 2012
Location: delhi(INDIA)
Distribution: Fedora 16
Posts: 26

Rep: Reputation: Disabled
ssh keygen working?


Hi all,

I have just started up with ssh-keygen for the first time but I am not able to understand how it generates the key pair. I mean what all is needed by it to produce that key-pair.
I understand how it works afterwards.

Thanks,
 
Old 01-10-2013, 03:56 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
I don't see what part you don't understand. You run the program with no arguments and it will prompt you to override the default locations, so the file locations should be very apparent. Only thing you are likely to want to do is use a dsa2 key instead of rsa, but that's just fine tuning.
 
Old 01-10-2013, 05:10 AM   #3
beyond
LQ Newbie
 
Registered: Feb 2012
Location: delhi(INDIA)
Distribution: Fedora 16
Posts: 26

Original Poster
Rep: Reputation: Disabled
yeah thats definitely Ok, but I want to enquire about the algorithm or the method which ssh-keygen program uses to generate the keys whether rsa or dsa.

I mean it is specific to every other system so what all ssh-keygen uses to produce the key..[COLOR="Silver"]
 
Old 01-10-2013, 05:20 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
it will produice an rsa, dsa or dsa2 key based on the ratified algorithms for each.
 
  


Reply

Tags
ssh


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
[SOLVED] ssh-keygen for auto ssh login not working R00ts Linux - Software 26 09-23-2012 02:40 PM
[SOLVED] ssh-keygen not working mahesh manakawad Ubuntu 12 06-06-2012 07:59 AM
SSH not working after ssh-keygen due to lack of entropy grob115 Linux - Security 8 08-28-2010 12:33 PM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
How to ssh-keygen? Baran Linux - Networking 5 04-26-2005 03:40 PM


All times are GMT -5. The time now is 08:42 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration