Wednesday, May 17, 2006

Setting up blogger.com sftp

So, how do I set up sftp from blogger.com to my own web server? I'll run a little experiment with a new blog I'll now create, 4-lisp. I have my own web server, now the trick is to turn it into my own blog server for 4-lisp.

Step 1: Set up the ssh ports on the server. I'm running sshd on a custom port. My router receives a request on the custom port, and forwards it to my server on the standard port. Now I create an inverse mapping: the router receives a request on the standard port, and forwards it to my server on a custom port. I manage traffic coming on the standard port using the server's firewall.

Step 2: Set up the sftp server. This is a no brainer, as there's an sftp server already running. We must create the necessary paths in the server, and set up permissions.

Step 3: Register the sftp server with blogger .com. The entire process turned out to be quite painless.

See the blog here.