How to Setup SSH Server in Windows with freeSSHd
August 5, 2009 – 12:07 pmHave you ever wanted to control your Windows remotely using the command line? With the SSH network protocol, you can! Telnet is another way to achieve this, but it is not as secure as SSH. In this simple guide, I will tell you on how to setup a SSH server in Windows with freeSSHd.
With this setup, you can now access and manage your PC from another computer using the Windows command line. That means that you can copy, edit, move and delete files inside your home computer from another computer in the office, for example. Furthermore, the SSH network protocol secures the connection between the two connected computers! If you are interested, you can read more on SSH .

Step 1: Setup SSH Server in Windows with freeSSHd
This is an absolute noob guide , so I’ll explain in detail. If you are an advanced user (boo!), you are welcome to skip the installation steps.
1- freeSSHd is the easiest software to use to get SSH working in Windows. Download freeSSHd before proceeding any further.
2- Double click the freeSSHd installer that you have downloaded to get started.

3- Click Next -> Click Next (or you can change the default installation directory) -> Click Next (Full Installation) -> Click Next (Start Menu Folder) -> Click Next (Create a desktop icon) -> Click Install (ready to install) -> Wait until installation has been finished -> Click Close (Try other products…)

4- “Do you want to run freeSSHd as a system service?” I choose “No” so I can start freeSSHd manually. This is a good security practice because you don’t want to have running applications in the background if you are not using it. Only turn freeSSHd on when the need for remote connections arise!

5- Click Finish to complete freeSSHd installation.
Step 2: Run freeSSHd
6- Double click the freeSSHd icon on the desktop to load your SSH server. You can see the freeSSHd icon on your system tray.
7- Right click on the icon and click Settings.

8- Make sure that the freeSSHd settings page (Server Settings tab) shows that your “SSH server is running”.

Step 3: Create a New SSH User
9- Click on the Users tab. You need to create at least one user account that will act as your SSH remote user account.

10- Click “Add” to create a new user. Fill in the user details, following the example shown below (with your own unique username and password, duh!). Click OK and make sure it appear on the Users tab list.

Step 4: Test SSH Access with Putty (Local)
11- Using the same computer that you install freeSSHd previously, download Putty. Putty is a desktop command line client that you can use to access SSH servers.
12- Double click the Putty installer to run it. Fill in the details as shown in the diagram below. 127.0.0.1 means that you are testing the SSH access from a local connection.

13- Press “Yes” on the security alert screen. Insert your SSH username and password that you have created previously.


14- If you get a Windows command prompt, you have successfully access your SSH server! Congratulations!

15- Connect your computer to the Internet / local network and take note of your computer’s IP address.
Step 5: Test SSH Access with Putty (Remote)
16- Using another computer e.g. your office computer, download Putty again.
17- Repeat step 12 to 13 above but this time, use your SSH server IP address (type it inside Host Name or IP Address field).
18- If you get a Windows command prompt, you have successfully access your SSH server from a remote computer! Double congrats to you!

There you go, a complete noob guide to setup a SSH server in Windows, using the super simple freeSSHd application. Be geeky and try it today!
Tags: windows ssh, windows ssh setup, setup ssh in windows, sshd, freesshd, ssh, ssh setup
Love this post? You may want to subscribe to my RSS feed. Thanks for the support!








5 Responses to “How to Setup SSH Server in Windows with freeSSHd”
Hmm when I do this on windows 7 and try to connect I get my login and than no matter what I enter for the password (even the correct one) I get access denied.
Any ideas why? Is there special settings? Im using windows 7 and Putty like you explain LOCALLY and it fails as well.
I allowed the port through the firewall also.
By glenn on Aug 7, 2009
Never tried it with Windows 7 man. I used to test this with Vista with all firewall and UAC disabled.
By Syahid A. on Aug 8, 2009
Hi there, I got it working on Windows 7 by:
1. setting as NT Authentication
2. Apply
3. Rightclick on the freeSSHd icon in the systray and select “unload”
4. Restart the Service using Windows Services (Start Menu –> Administrative Tools –> Services)
It seems that freeSSHd does not actually restart the service via it’s own little console.
Hope that helps
Cheers
jp
By jp on Sep 7, 2009
@Syahid: Your instruction do not work for me.
Somebody any other idea?
By Tommy on Oct 31, 2009
I got the same problem. Disable the User Account Control and restart the PC, then it’ll work.
I’ve no workaround for this. If you want to have UAC you can’t use freesshd, I guess…
IMHO the problem is, that the company field in the infomation fields for this file isn’t filled. So you can’t trust the binary, cause Win7 won’t allow it.
If anybody has a workaround, please answer
By tobra71 on Nov 16, 2009