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 ). Or search the Net.
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:
- System->Control Panel->Add Hardware
- Yes, Hardware is already connected. Next
- Add a new hardware device (at bottom of list)
- Install the hardware that I manually select
- Network adapters
- Microsoft , Microsoft Loopback Adapter
- (Go through rest of the installation procedure.)
Now we configure the new localhost adapter.
- Open NetWork Connections and right click the new loopback
- Enable Client for Microsoft Networks.
- Disable File and Printer Sharing for Microsoft Networks
- Enable Interent Protocol (TCP/IP)
- Click on properties for TCP/IP.
- Enter IP address (10.0.0.1), subnet mask
(255.255.255.0).
- 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 using putty.
If that works you should now be able to map a samba share
- Map Network Drive
- //10.0.0.1/<userid> ( or public if you want the public share )
- You will need the userid's password
That should give access to the userid's H: drive.
A normal user would now have to go through two steps ( password
twice ugh )
- Putty login to apss then minimize screen.
- Map/Remap network drive. At an outside office today after the
reboot and putty login I just double clicked it and was prompted for
password.
Bill Szkotnicki, 2005/Nov