LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-23-2005, 01:07 AM   #1
matsko
Member
 
Registered: Dec 2005
Posts: 51

Rep: Reputation: 15
GPG Keys


I do not understand how the GPG keys work..

can someone explain to me how to set it up for a ssh client so that you would not have to login each time...
 
Old 12-23-2005, 01:51 AM   #2
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon
Posts: 276

Rep: Reputation: Disabled
Here is where to learn about gpg: www.gnupg.org. As for setting it up with ssh, that would defeat part of the security designed into ssh. If you don't want to have to use a passphrase, create your keys and omit the passphrase. But that leads to the same security issue.
 
Old 12-23-2005, 08:51 AM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
The use of keys is the only way to easily use SSH in scripts without storing a login and pass in plain text somewhere in the script. There's nothing wrong with using keys..
http://www.puddingonline.com/~dave/p...s-HOWTO-4.html


If it's not for scripting and you want additional security configure the keys to require a passord. then to login you not only have to have the keyt but a passphrase as well..
http://www.puddingonline.com/~dave/p...s-HOWTO-5.html

Last edited by farslayer; 12-23-2005 at 09:06 AM.
 
Old 12-23-2005, 07:30 PM   #4
matsko
Member
 
Registered: Dec 2005
Posts: 51

Original Poster
Rep: Reputation: 15
well what I really want to do is to have a key system for my servers so that they can exchange backup files with cron. Right now I have to manually make do the scp...

so can this be done with gpg key system?
 
Old 12-23-2005, 08:53 PM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Yeah did you follow the links I posted ? They go to a HOW-TO GPG keys....
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gpg keys pr0xibus Fedora 1 10-04-2005 11:45 AM
gpg keys in ubuntu. greythorne Ubuntu 0 07-09-2005 06:13 AM
gpg keys, and why i cant import them AnimaSola Linux - Software 3 04-17-2005 07:49 PM
yum gpg keys? Infernal211283 Linux - Newbie 3 02-14-2005 01:23 AM
Using GPG KEYS 0n Install CD browser Fedora 1 01-23-2005 06:06 AM


All times are GMT -5. The time now is 03:33 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