I have successfully downloaded a key from a public key server. Please read the following.
-----------------------------------------------------------------------
[root@c83-250-110-112 nissanka]# gpg --keyserver pgp.uk.demon.net --recv-keys A50083C5
gpg: requesting key A50083C5 from hkp server pgp.uk.demon.net
gpg: key A50083C5: public key "haritha wijetunga (my key) <s3042602@student.rmit.edu.au>" imported
gpg: Total number processed: 1
gpg: imported: 1
[root@c83-250-110-112 nissanka]#
-------------------------------------------------------------------------
I invain tried to import it onto my key ring.
[root@c83-250-110-112 nissanka]# gpg --import
s3042602@student.rmit.edu.au
gpg: can't open `s3042602@student.rmit.edu.au': No such file or directory
gpg: Total number processed: 0
[root@c83-250-110-112 nissanka]#
[root@c83-250-110-112 nissanka]# gpg --import A50083C5
gpg: can't open `A50083C5': No such file or directory
gpg: Total number processed: 0
[root@c83-250-110-112 nissanka]#
[root@c83-250-110-112 nissanka]# gpg --import "haritha wijetunga (my key) <s3042602@student.rmit.edu.au>"
gpg: can't open `haritha wijetunga (my key) <s3042602@student.rmit.edu.au>': No such file or directory
gpg: Total number processed: 0
[root@c83-250-110-112 nissanka]#
[root@c83-250-110-112 nissanka]# gpg --import "haritha wijetunga <s3042602@student.rmit.edu.au>"
gpg: can't open `haritha wijetunga <s3042602@student.rmit.edu.au>': No such file or directory
gpg: Total number processed: 0
[root@c83-250-110-112 nissanka]#
[root@c83-250-110-112 nissanka]# gpg --import " <s3042602@student.rmit.edu.au>"
gpg: can't open ` <s3042602@student.rmit.edu.au>': No such file or directory
gpg: Total number processed: 0
[root@c83-250-110-112 nissanka]# gpg --import "s3042602@student.rmit.edu.au"
gpg: can't open `s3042602@student.rmit.edu.au': No such file or directory
gpg: Total number processed: 0
[root@c83-250-110-112 nissanka]#
[root@c83-250-110-112 nissanka]# gpg --import
s3042602@student.rmit.edu.au
gpg: can't open `s3042602@student.rmit.edu.au': No such file or directory
gpg: Total number processed: 0
[root@c83-250-110-112 nissanka]#
What is the problem?
I tried all sorts of import commands.
My understanding is that 'recv-keys' command just download the keys. Afterwards, 'import' command should use to attach it to the key ring.
Please help me.