- Dec 17, 2001
- 3,566
- 3
- 81
So now that I've finally got DSL (w00t!), I'll be setting up some simple services on one machine, using openssh for remote adminstration. I understand how to use it, but I was hoping someone could give me a little background on how it works under the hood, just because I like to understand these kinds of things. Specifically, how is it that a client can securely transfer a password to a server without any prior knowledge of encyption keys? It seems to me like the first connection has to be untrusted and vulnerable to man-in-the-middle attacks (not that anyone would bother with me...
), since both machines do not yet have knowledge of both keys. Any good articles or nutshell descriptions of this? I searched a bit and found this article from IBM, which does a nice job of explaining how to use RSA/DSA keys for passwordless authentication, but I still don't really understand how the initial handshaking between hosts works in the first place.
