Lalit Kapoor

Coding | AI | Search Engine Technology | Recommendations
twitter: Internet Explorer - I hate you.

Mount FTP Or SFTP As A Drive In Windows

enhancement, networking, vista, windows 6 Comments »

Problem
I want to mount my folders from my webhost over sftp (ssh) on my Windows machine for free. Something like sshfs for Windows.

Discussion
Currently there is no single application that will let me mount an SFTP connection as a drive. There are however applications such as NetDrive, FTPDrive, etc which will let me mount an FTP connection as a drive. So all that’s left to do is create a FTP to SFTP bridge. What does that do you ask? That creates a FTP proxy to your SFTP connection. It will allow you to send your commands from the FTP server to the SFTP connection. There are two tools that stand out to create the bridge we need. The first is mindTerm, an open source solution written purely in java. The second is Tunnelier by Bitvise. I will be using mindTerm with NetDrive in my solution. If you have success with any other combination feel free to comment about your setup.

Solution

  1. Download and extract mindTerm
  2. Run mindterm.jar (double click it if you can, otherwise in command prompt type in java -jar mindterm.jar)
  3. Type in the host you want to ssh into followed by the username and password
  4. In the menu click on Plugins>FTP To SFTP Bridge…
  5. Type in 127.0.0.1 for the Listen address
  6. Type inĀ  21 for the Listen port
  7. Select the Remote system type
  8. Click Enable
  9. Click Dismiss
  10. Next we want to install NetDrive
  11. Once netdrive is installed, open it up, and click New Site on the bottom
  12. Type in localhost (or whatever you want to call it) for the Site name
  13. Type in localhost for the Site IP
  14. Type in 21 for the Port
  15. Select FTP for the Port
  16. Select a Drive letter
  17. Check Connect as anonymous
  18. Click Save
  19. Click Connect
  20. Click the X to close the window (will minimize to system tray)

There you have it! A SSH/SFTP connection as a drive in Windows. I have tested it in Windows Vista, however it should work just fine in Windows XP.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • DZone
  • del.icio.us
  • Technorati
  • Furl
  • Facebook
  • Google
  • Mixx
  • Sphinn
  • StumbleUpon

Disable Full Row Select In Windows Vista

enhancement, vista, windows No Comments »

Vista, is just so unreliable. Until I can put Ubuntu or XP back on my laptop, I can atleast make Vista work a little better for me. First thing to go is the full row select in folders. I only want to select a file if I click on it in the name column, not anywhere in the row. Here is the fix: disablefullrowselect.

.I found this on vistax64.com Enjoy.

Instructions:

  1. Kill all explorer.exe
  2. run the script
    1. start the task manager from ctrl-alt-delete
    2. file>New Task (Run…)
    3. browse to the where you stored the file, select it
    4. run it by clicking OK
  3. log off windows
  4. log back in

For more enhancements/fixes check out: http://home.mchsi.com/~k.miller79/

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • DZone
  • del.icio.us
  • Technorati
  • Furl
  • Facebook
  • Google
  • Mixx
  • Sphinn
  • StumbleUpon