LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2018, 04:05 AM   #1
banderas20
Member
 
Registered: Aug 2018
Posts: 136

Rep: Reputation: Disabled
Question SSH-Keygen or Easy-RSA?


Hi!

I'm trying to setup a VPN server to give access to a local LAN (office, for example) from outside.

I'm doing it with OpenVPN, and the first thing I have to do (according to the tutorials) is to generate a PKI infrastructure (including my own CA) with Easy-RSA.

¿Do I have to create the certificates with this package? ¿Can't I use OpenSSH? ¿Which are the differences?

Thanks!
 
Old 08-06-2018, 07:31 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by banderas20 View Post
Hi!
I'm trying to setup a VPN server to give access to a local LAN (office, for example) from outside. I'm doing it with OpenVPN, and the first thing I have to do (according to the tutorials) is to generate a PKI infrastructure (including my own CA) with Easy-RSA. ¿Do I have to create the certificates with this package? ¿Can't I use OpenSSH? ¿Which are the differences?
Not sure how to answer part of this; the tutorials/instructions are clearly telling you what to do....and you're questioning them why?? Yes, you have to generate an RSA key.

The differences between RSA and SSH/SSL are MANY, and are covered on many security websites (please see them for further information), but it boils down to the difference between a trusted certificate and a key.
 
Old 08-06-2018, 12:38 PM   #3
banderas20
Member
 
Registered: Aug 2018
Posts: 136

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Not sure how to answer part of this; the tutorials/instructions are clearly telling you what to do....and you're questioning them why?? Yes, you have to generate an RSA key.
I'm not questioning the tutorials nor the need to generate an RSA Key. I'm just asking If I have to do it compulsory with Easy-RSA, and if so, why.

Thanks!
 
Old 08-06-2018, 12:51 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by banderas20 View Post
I'm not questioning the tutorials nor the need to generate an RSA Key. I'm just asking If I have to do it compulsory with Easy-RSA, and if so, why.
You asked if you could do it with openSSH, and what the difference were between RSA and SSH also.

You can use whatever you'd like to generate an RSA certificate...that is the easiest one to use, and the most widely documented. Feel free to use whatever you'd like to generate your RSA certificate, as Linux has many options, as well as the pay-for online certificate sources.
 
Old 08-12-2018, 03:19 AM   #5
banderas20
Member
 
Registered: Aug 2018
Posts: 136

Original Poster
Rep: Reputation: Disabled
Understood. Thanks!
 
  


Reply



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 01:40 PM
SSH not working after ssh-keygen due to lack of entropy grob115 Linux - Security 8 08-28-2010 11:33 AM
ssh-keygen -t rsa -b 2048 without a passphrase sycamorex Linux - Security 7 06-10-2010 04:42 PM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
How to ssh-keygen? Baran Linux - Networking 5 04-26-2005 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:12 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
Open Source Consulting | Domain Registration