Hello,
I apologize for the n00bish question. This is my first attempt at RSA keys. I read around but have a confusion how the keys are used.
The basic idea is:
There are two keys; public key and private key.
A wants to send msg to B. A uses public key to encrypt the msg and sends it. B uses his private key to decrypt it. All is well.
But I'm confused how RSA can serve my purpose.
I have a small server at home with OpenSSH enabled, to which I frequently connect from university to do some simple stuff.
What I want to do is, to make my home server only accept a SSH connection from a computer with a known key. I'm not sure if RSA can help me here.
Anyway what I want to achieve is, I have a key (which is very very long than a usual password so its difficult to brute-force) and I use this key to authenticate my university computer to my home server.
So assuming nobody can get this key from my university computer, no other computer should be able to SSH connect to my home server.
I'd also would like to know what the purpose of the keys "ssh_host_rsa_key" and "ssh_host_rsa_key.pub" in /etc/ssh?
Are they a public/private key pair too?
How can I achieve this. Sorry for the long question. Even a guide is very welcome. Thanks heaps in advance.
Bookmarks