Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old May 25th, 2002, 12:46 PM
pentium5 pentium5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: entlegen
Posts: 442 pentium5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
hoe to generate private key with gnupg.org in scp operation?

I have installed the gnupgp.org , it has too many parmeter to generate the publc key.



scp -r -i /path/to/private/key/file sally@192.168.1.80:/var/qmail /var/save

can u help with this?
__________________
regards,

wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
first I must revise C program thro' example, what's next?

Reply With Quote
  #2  
Old May 26th, 2002, 04:18 AM
justice41 justice41 is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Emerald City
Posts: 289 justice41 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Re: hoe to generate private key with gnupg.org in scp operation?

What do you mean there are too many parameters? All you have to do to generate a key pair is
Code:
gpg --gen-key

and then answer the questions that follow. And what does the command you posted have to do with your question?
Quote:
scp -r -i /path/to/private/key/file sally@192.168.1.80:/var/qmail /var/save


jaa

Reply With Quote
  #3  
Old May 27th, 2002, 04:06 AM
pentium5 pentium5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: entlegen
Posts: 442 pentium5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
I have armour my public key (1024 bit) and published in my web page.

then I tried this

[root@energy .gnupg]# gpg --output doc.gpg --encrypt --recipient auser@email.com xx
gpg: auser@email.com: skipped: public key not found
gpg: xx: encryption failed: public key not found
[root@energy .gnupg]#



But I do not know how to encrypt a document.

i export the gpg in /home/auser
by

gpg --export auser,

where can I find UID???
but the private and public in auser at /home/auser are still empty.


a-rw-rw-r-- 1 auser auser 0 May 24 17:56 pubring.gpg
-rw------- 1 auser auser 0 May 24 17:56 secring.gpg


BUT:
drwx------ 2 root root 4096 May 27 06:53 .
drwxr-x--- 24 root root 4096 May 27 04:11 ..
-rw-r--r-- 1 root root 7793 May 24 12:33 options
-rw-r--r-- 1 root root 915 May 27 06:35 pubring.gpg
-rw-r--r-- 1 root root 0 May 24 13:26 pubring.gpg~
-rw------- 1 root root 600 May 27 06:35 random_seed
-rw------- 1 root root 1373 May 27 06:35 secring.gpg
-rw-r--r-- 1 root root 1240 May 27 06:35 trustdb.gpg
[root@energy .gnupg]# pwd
/root/.gnupg


I read and continue faq in gnupg.org.Not much help , may be my eyes are too big.
- will u shed some light here?

- what happen when re-generate another shorter 128 bit, will itl over-write the files in /root/.gnupg???

- encrypt and decryption have problem?

Last edited by pentium5 : May 27th, 2002 at 04:28 AM.

Reply With Quote
  #4  
Old May 27th, 2002, 03:04 PM
justice41 justice41 is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Emerald City
Posts: 289 justice41 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Quote:
Originally posted by pentium5
[root@energy .gnupg]# gpg --output doc.gpg --encrypt --recipient auser@email.com xx


You put the options BEFORE the command. The command (in this case '--encrypt' ) is the last thing (except for the filename) on the command line.

Code:
[root@energy .gnupg]# gpg --output doc.gpg --recipient auser@email.com --encrypt x


see the manpage
man gpg

jaa

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > hoe to generate private key with gnupg.org in scp operation?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway