<

Setting up WinSSHD for SSH Sharing your Home Windows PC

Published on
10,497 Points
4,497 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
Author:jayaram13
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Get 7 days free