|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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:
jaa |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
Quote:
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 |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > hoe to generate private key with gnupg.org in scp operation? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|