Samba is typically used to mount a Linux drive to Windows. However, the beta is a public environment, so traffic to it goes over the Internet, and security should be a consideration. Instead of Samba, let’s use SSH as the underlying transfer layer—it’s configured on each of the available software images.
Enter Dokan, a FUSE and SSHFS implementation for Windows. No server-side configuration required; all you need is an active instance, its ip address and your private key. If you need help with those, you can always check with the beta user guide or watch one of the tutorial videos.
Here's how to set up and confugure Dokan on your Windows machine:
- Download and install .NET unless you already have it installed
- Download and install the Dokan FUSE library for Windows.
- Download and install Dokan SSHFS next. We're ready to connect to our instance now.
- Run Dokan SSHFS and you should see a window similar to the one shown below. Give your connection a name, specify the ip address of your instance and the user name that you wish to connect as. All instances come with the idcuser account configured, so we're using that in the screenshot:
- Under the Identity section, specify your unmodified private key that you downloaded from the beta web site. The name of that file should be similar to ibmcloud_youremail_rsa. Note: Don't use your converted Putty key - it just won't work.
- Specify the directory you wish to mount -- notice that we used the idcuser home directory to avoid any permission problems. Give your mount a drive letter, click Connect, and if you see this tiny window. . .
. . . you know that you're all set. Contratulations! Now you can use Windows Explorer to work with your new drive :)