avatar

Shamrat Kumar Paul

shamratpaul@gmail.com


← Back to Blog

Remote Windows Access from Ubuntu: A Robust SSHFS & RDP Setup


In modern research workflows, we often find ourselves working across different operating systems. For me, this meant wanting to access my powerful Windows machine (Insurgent) directly from my portable Ubuntu laptop (Divergent).

After some trial and error, I’ve established a setup that feels like the Windows drive is actually inside my Ubuntu laptop. Here is how I did it.

The Goal

The objective was simple:

  1. File Access: Browse and edit Windows files (C: drive) as a local folder on Ubuntu.
  2. Full Control: Remote desktop into Windows when I need the GUI.
  3. Stability: A connection that doesn’t break every time I reboot or change Wi-Fi.

🚀 The Solution: SSHFS + Remmina (RDP)

🛠️ Phase 1: The Windows Setup (Insurgent)

The biggest hurdle was authentication. Microsoft accounts and PINs often cause issues with SSH. The fix? A dedicated local account.

  1. Local Account: Created insurgent_user with a standard password.
  2. Permissions: Used icacls to grant this user full control over my main profile (C:\Users\paul).
  3. OpenSSH Server: Enabled the Windows OpenSSH service and allowed Port 22 through the firewall.
  4. RDP Permission: Added insurgent_user to the “Remote Desktop Users” and “Administrators” groups.

🐧 Phase 2: The Ubuntu Setup (Divergent)

Once Windows was ready, I used two key tools on Ubuntu:

Mounting the Drive

To mount the Windows C: drive to ~/insurgent:

sshfs insurgent_user@192.168.0.85:/C:/ ~/insurgent -o allow_other

🌍 Phase 3: Global Access (Tailscale)

What if I’m not at home? I installed Tailscale on both machines. This creates a secure, private tunnel that works anywhere in the world. I just replaced the home IP with my Tailscale IP, and it worked like a charm!


🧠 Lessons Learned

This setup has completely streamlined my workflow. No more manual file syncing or carrying two laptops—just one seamless, integrated research environment.

Happy Hacking! 🚀


Powered by Jekyll and Minimal Light theme.