SSH Server ( Win7 )

1. What is SSH?

Defined in RFC 4251, SSH is a netowrk protocol that opens up a secure channel between a SSH server and a Client on port 22

Supports SFTP(Secure FTP) and SCP(secure copy).

freeSSHd Server

Installing freeSSHd Server on Windows Server 2008 R2

2. Basic Process

  1. Install FreeSSHd (SSH Server)
  2. Add User(s)
  3. Allow SSH command line access(CLI), FTP, and Tunnel
  4. Open exception in the firewall TCP, Port 22 on the server
  5. Install SSH Client (PuTTY)
  6. Configure Client and

 

3. Server Installation

Start the installation program by Right-Click and 'Install as Administrator'

Accept defaults

Select YES for Private Keys

Select YES to install as a service if the SSH server is needed without a user logged on the OS

 

4. FreeSSHDService

Open the Services Managment Console from the Administration Tools Program group

FreeSSHDService Properties

5. FreeSSH Configure

FreeSSHD's SysTray icon. Right-click and select Settings...

FreeSSHd Server Status

This will not have an accurate status if FreeSSHD is installed as a service and is started by the OS automatically ( normal behavior )

To Change this stop the FreeSSHD service and then suse this form to start it manually

Telnet Settings, normally on Port 23

SSH Server is normally on Port 22

Authentication Options

I normally suggest to use the WindowsNT authentication if users are logged on a Domain. If a Domain is not used, then it would be more secure to add users to the SSH Server and not the OS.

SFTP home path. Default is $HOME\, however I usually assign a folder on my second partition on the root such as:

D:\SFTP\

Users

Add user access here. This is required even if user accounts exist in the OS. This allows for fine-tuned restriction to the SSH server.

Lock down access to the Service by either Refusing specific IP addresses or allowing only a couple to access it.

Enable logging. This can be useful, particularly when first setting up and implementing the SSH Server.

6. Adding Users

Click Add

7. Opening the Firewall

8. Starting the Service from the FreeSSH control panel

 

 

Tags