Error occurred message when upgrading freeSSHd

I needed to upgrade freeSSHd, which is free Secure Shell (SSH) server software for Microsoft Windows systems, on a Windows 8 system. The software allows remote users to log into a command line interface on the Windows system via SSH and provides the capability to transfer files via the SSH File Transfer Protocol (SFTP). When I attempted to install the latest version of the software over a prior version, however, the installation was unsuccessful. If you see the following error message, you may need to stop the SSHD service prior to performing the upgrade:

An error occurred while trying to replace the existing file:
DeleteFile failed; code 5.
Access is denied.

Click Retry to try again, Ignore to skip this file (not recommended), or Abort to cancel installation.

Error occurred during freeSSHd upgrade

On a Windows 8 system, you can right-click on the Windows Start button and choose Run. Type services.msc and hit Enter. In the Services list, scroll down to FreeSSHDService.

Services - FreeSSHDService

Double-click on the FreeSSHDService then click on the Stop button.

Learning Network Technology and Security
Learning Network Technology and Security
1x1 px



How to be an Independent security researcher Ethical Hacker
How to be an independent
security researcher / ethical hacker
1x1 px

FreeSSHDService Properties

Click on the OK button once it has stopped. Then click on Retry in the FreeSSHD installation Error window. The installation process should then proceed. When you see the window asking whether FreeSSHd should run as a system service, click on the Yes button. When the installation completes, click on the Finish button.

oreilly.com - Your tech ebook super store

freeSSHd installation completed

If you click on Action and select Refresh in the Services window, you should see the FreeSSHDService status change to "Running". You can close the Services window.

Related articles:

  1. freeSSHd on Windows 8
    Created: September 2, 2013
    Last modified: September 2, 2013