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!





Fatal error: Call to undefined function sqlite_open() in /membri/giacobbe85/include/commenti.inc.php on line 324