[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Setting up WinSSHD for SSH Sharing your Home Windows PC

Published on
10,401 Points
Last Modified:
Community Pick
Goal:  To set up a secure SSH server for your home computer to make it accessible anywhere AND to use it as a port forwarding proxy.

1.  WinSSHD version 5 is free for personal use.  So download and install it.  You can download it from the link http://www.bitvise.com/download-area

2.  Create a new user with a very complex (containing characters from multiple sets like uppercase, lowercase, special characters, numbers..) password.  Assign permissions very carefully to this user.  Give full access only to one sandbox folder and as required, give read access to the other folders.

3.  Download WinSSHD Tunnelier (or some such SSH2 Client) and generate a client certificate key pair (public+private).  This would be the second level authentication for your server.

4.  In WinSSHD control panel, remove the Virtual Groups and Virtual Users (since we'll use the Windows authentication instead).

5.  Add your new Windows User to the Windows Users section and ensure you have chosen "Required" for password AND public key authentication.

6.  Assign the public key generated in step 3 to the user.

7.  Click OK to confirm your selection and apply the changes to the WinSSHD Server.

8.  Open port 22 in your firewall and your router (if you have blocked port accesses).  Haven't configured it yet?  Do so immediately :-).

9.  Use a SSH2 client to test the connection to ensure both levels of authentication are REQUIRED and you are not able to access without both your password and your private key.

10.  You're done.  You must now be able to access your Home PC over SSH2 (which includes, SFTP, command prompt access, remote desktop access, port forwarding, etc.).  If you don't want to do so many things over the internet, use the WinSSHD Control Panel to turn-off all the services that you don't require.

Refer http://www.bitvise.com/securing-winsshd for details on securing your WinSSHD Server.

Featured Post

10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month