Hints/Tips Tools

Connect from Windows 7 to Ubuntu – Part 2

This post shows how to connect from Windows 7 to Ubuntu using SSH specifically using the WinSCp and PuTTY tools available for windows.

WinSCp is available from

and is an opensource SFTP client, SCP client, FTPS client and FTP client for Windows. Its main purpose is to transfer files between a local and a remote computer.

PuTTY is available from

and is a free implementation of Telnet and SSH for Windows and Unix platforms.

  1. Install the OpenSSH Server on the Ubuntu machine

    Run the following command

    sudo apt-get install openssh-server
  2. Install WinSCP and PuTTY on the Windows Machine
  3. In WinSCP, create and save a session for the Ubuntu machine.

    Create a session using the ip address of the Ubuntu server, use SFTP as the file protocol, and the user name and password of a valid Ubuntu user

    In the Advanced Options … Environment … SFTP setting set the SFTP server to the location of the sftp server on the Ubuntu machine


You should now be able to login to the Ubuntu server and transfer files between the Windows and Ubuntu machines using the WinSCP application. You can also execute terminal commands using PuTTY directly or invoked from WinSCP.