After several weeks of not being able to publish my blog to my web server, I am finally back online. I've spent the last couple of weeks in Blogger support limbo trying to figure out why I got this error message every time that I tried to publish my site:
005 Unable to connect to SFTP server: Auth fail
The only advice that I got from blogger support was to make sure that my web server supports SFTP. Now, I don't know a ton about SFTP but I was pretty sure that it's just FTP over an SSH connection. My web server most definitely supports SSH.
I finally found the answer here, in someone else's blog. Apparently blogger tries to "tunnel" the password plaintext over the SSH connection (actually this may be part of the SFTP specification and not something peculiar to Blogger). By default, my version of SSHD (the version included with SuSE 9.3 Beta 1) was configured to disallow that. All I had to do was set the option "PasswordAuthentication = yes" in /etc/ssh/sshd_config and restart the server.
It seems like this is something that should make it into the Blogger FAQ. Until then, I've written this post to give whoever else encounters this problem one more chance of getting information from a Google search.
Subscribe to:
Post Comments (Atom)
1 comment:
Hi Dan. I was fooling around on Technorati, and I saw you linked to my blog and thought I'd drop a line. I think I also sent a suggestion to the good folks at Blogger to put something in their help files about the PasswordAuthentication configuration. I'm glad that you were able to find the solution on my blog.
Post a Comment