Connecting to APSS Samba share via SSH tunneling

Preparing the Windows XP Client

First you must install putty:

Bring the installation EXE to the windows PC. You can find it in P:\\installs (putty-0.58-installer ).

Then run putty and save an SSH connection to APSS as follows:

Host: apss.aps.uoguelph.ca, Port: 22

Click Tunnels and Add Source(10.0.0.1:139) Destination(127.0.0.1:139)

Then make sure you save the session. I used "apss" as a name for the saved session.

 

Next install and configure loopback:

  1. System->Control Panel->Add Hardware
  2. Yes, Hardware is already connected. Next
  3. Add a new hardware device (at bottom of list)
  4. Install the hardware that I manually select
  5. Network adapters
  6. Microsoft , Microsoft Loopback Adapter
  7. (Go through rest of the installation procedure.)
Now we configure the new localhost adapter.
  1. Open NetWork Connections and right click the new loopback
  2. Enable Client for Microsoft Networks.
  3. Disable File and Printer Sharing for Microsoft Networks
  4. Enable Interent Protocol (TCP/IP)
  5. Click on properties for TCP/IP.
  6. Enter IP address (10.0.0.1), subnet mask (255.255.255.0).
  7. Under advanced->WINS, Enable LMHosts Lookup and Disable NetBIOS over TCP/IP

You may now have to reboot but I didn't with Windows XP latest service pack.

Test the connection by logging on to APSS.

If that works you should now be able to map a samba share

  1. Map Network Drive
  2. //10.0.0.1/<userid>
  3. You will need the userid's password

Let's stick with that for now. It gives access to the userid's H: drive.

For Gail if you leave off <userid> you get acccess to all shares that you are entitled to (perhaps more?!).

A normal user would now have to go through two steps ( password twice ugh )

  1. Putty login to apss then minimize screen.
  2. Map/Remap network drive. At Jeans office today after the reboot and putty login I just double clicked it and was prompted for password.

Bill Szkotnicki, 2005/Nov/22