KTS_HOWTO: Windows SSH Server - Howto for newbies

1) A brief overview of SSH
SSH or Secure Shell is a set of standards that allows establishing a secure
connection between a local and a remote computer. SSH is typically used to log into
a remote machine and execute commands, allowing remote administration of the SSH
server computer via character-mode console terminal
There are generally two types of SSH software:
- SSH server, a daemon software running on the remote computer.
- SSH client, a software that supports terminal protocols, used to connect the
local computer to the SSH server.

2) The Software you'll need
To run successfully a SSH server obviously you will need SSH software. SSH is not
part of the standard software included in Windows distroes, but luckily there are a
bunch of commercial and free SSH software on the net. I will mention only two
applications, one server app and one client app, if you don't like my choice you can
easily google another ones.
- KpyM Telnet/SSH Server - free, open source, windows ssh server. (yes, this is the
telnet/ssh server that I'm developing)
- PuTTY - free, open source, windows ssh client.

3) Installation step
- Install KpyM on the server computer. The server will start automatically.
- Install PuTTY on the client computer.

4) Post Installation steps, remote computer only.(For users behind firewalls)
If you are not sure whether your remote computer is behind firewall, read the
- allow KpyM processes to accept remote connections(act as server). These are the
programs "telnetd.exe", "term.exe", "term-ssh.exe"
- open port 22 for incoming connections on the server computer.
- if you're behind a router/restricted network, change the settings so that SSH
connections are forwarded to your remote computer port 22.

Windows XP users; in Windows Firewall, add port 22 to your list of exceptions.
Open Control Panel > Windows Firewall > Exceptions tab > click "Add Port" enter ssh
and port 22.

5) Connecting to your SSH Server (The fun starts here)
Start PutTTY.
In the Host name box type your remote computer IP.
Click "Open" button.
When prompted for login type your Windows user name.
When prompted for password type your Windows password.

Monday, October 30, 2006

© 2002 - 2008 Kroum Grigorov
This page is powered by Blogger. Isn't yours?