I’m working through this: http://wiki.dreamhost.com/SSH#Windows — specifically using PuTTY.
I’m familiar with the software, but setting up a SSH 2-RSA key is new to me. I’ve generated the public/private keys, but it says this next:
[quote]Upload the public key to your Dreamhost home directory. After you’ve generated the key and copied it to the server, you’ll need to import and append the key to authorized_keys with the following command. Use >> instead of > to append to the file instead of overwriting the contents. (If the directory ~/.ssh does not already exist use an FTP program, such as FileZilla, to create it. Make sure to enable FileZilla to show hidden files (Server > Force showing hidden files)).
ssh-keygen -i -f key.pub >> ~/.ssh/authorized_keys
chmod go-rwx ~/.ssh ~/.ssh/authorized_keys
First, I assume that by “home directory” it means root? Second, it refers to ~/.ssh as a directory. Is that to say “.ssh”, or “~/.ssh” is a directory? Or am I completely misunderstanding this?
It then says to “import and append the key to authorized_keys with the following command.” What? Where’s this authorized_keys file? Is this a custom FTP command I send? If I send the first line I get “500 SSH-KEYGEN not understood”.
I feel like I’m really just missing something here. Can someone please explain?