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.


Hints/Tips Tools

Connect from Windows 7 to Ubuntu – Part 1

I’m running Ubuntu on a Dell Inspiron 910, commonly known as the Dell Mini 9, which is being used to host my development/test node.js server.

It’s more convenient to use the keyboard and screen connected to my laptop so here’s how I set up the mini9 in order to use Windows Remote Desktop Connection.

  1. On the Ubuntu machine, install the Remote Desktop Protocol (RDP) Server xdrp from the Software Center.
  2. To enable Windows Remote Desktop Connection to connect to an ubuntu user , create a document called .xsession on the Users home drive containing
    gnome-session --session=ubuntu-2d
  3. Determine the ip address for the Ubuntu machine (e.g. using ifconfig)
  4. On the Windows 7 machine, run the Remote Desktop Connection program ( from All Programs… Accessories) using the ip address of the server.

Thats all there is…