Computational Mathematics

Adventures in Computing, Statistics, and R

Dreamweaver SFTP error – New SSH host key fix


I use Dreamweaver (CS4) to maintain my personal homepage and synchronize my files to my department’s webserver over SFTP (FTP over SSH that is).  A few months ago, our server got updated and Dreamweaver could no longer connect via SFTP.  I was getting the following error:

An FTP error occured – cannot make connection to host.

I figured it that perhaps SFTP wasn’t running on the server or maybe the port had changed.  But a quick check through the sftp command line confirmed that indeed the process was still working.

It turns out that server reset had created a new SSH host key and the local fingerprint stored by Dreamweaver was not updated.  It’s strange because most other applications will inform you of the new host key and prompt you to overwrite the old fingerprint.  For Dreamweaver, you have to manually delete the ssh_hosts file in

~/Library/Application Support/Adobe/Dreamweaver CS4/en_US/Configuration

or at least delete the row corresponding to the server in question.

I also read this blog post that claims older versions of Dreamweaver had this support, but it was taken out for some mysterious reason.