<

Setting up WinSSHD for SSH Sharing your Home Windows PC

Published on
10,313 Points
4,313 Views
Last Modified:
Approved
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.

Steps
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.
0
Comment
Author:jayaram13
0 Comments

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Join & Write a Comment

In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
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