IMC!


Contents


Photos

 







Browsing around...
News  News Links  Links Blog  Blog Italiano  Español 
Install and use an SSH server on Windows

This article isn't a complete guide about using the SSH protocol. It simply explains, step by step, how to install an OpenSSH server on Windows and how to create a command line SSH session using Putty.

Procedure
  1. Download OpenSSH for Windows from http://sshwindows.sourceforge.net .
  2. Install OpenSSH ignoring the warnings.
  3. From the command line, go into the OpenSSH directory ("c:\Program Files\OpenSSH\bin") and write:

    mkgroup -l >> ..\etc\group
    mkpasswd -l >> ..\etc\passwd

    These two commands create users and passwords which you can use to login to the SSH session. The username and password are the same ones of the current Windows user.
  4. Start the SSH daemon with:

    net start opensshd

    from the command line. During the installation, SSH should have been registered as a Windows service, and will therefore start automatically each time Windows is started. To manage the service startup behaviour, you can use the Control Panel (for example Start>Run>services.msc)
  5. Download Putty, the SSH client, and write the SSH server address. A command line remote SSH session should start.

If you want to know an advanced use of the SSH protocol, you can read my guide Surfing in internet through an SSH Tunnel, or SSH tunneling for VNC and Remote Desktop.

Happy SSH!






Comments

No comment present!

Write a comment

You can write here a comment to the article you've just read. Smiles, links and images are not allowed. The maximum comment length is 4000 characters. Please be polite, all the offensive messages will be deleted.

Your comment (lascia bianco!):
Uses (max 25 characters, required)
Web site (max 255 characters, optional)
e-Mail (max 255 characters, optional, will not be published) Your opinion (lascia bianco!):
Comment (max 4000 characters, required):





Valid HTML 4.01 Transitional
E-Mail - 38.05 ms

Valid HTML 4.01 Transitional