SSHFS into Whonix-Workstation

From Whonix

Do Once[edit]

Developers / experts only! Only for debugging!

On the host.

If you are not already a member of the fuse group, add yourself.

sudo adduser `whoami` fuse

If you were not already a member, you will see.

Adding user `user' to group `fuse' ...
Adding user user to group fuse

And should reboot. [1]

If you see.

The user `user' is already a member of `fuse'.

Then you are already a member of the fuse group and do not have to reboot.

On the host.

Import Whonix-Gateway ™

Import Whonix-Workstation ™

On the host.

Caution if you did not name your VM "Whonix-Gateway"!

VBoxManage modifyvm "Whonix-Gateway" --natpf1 "ssh",tcp,,2200,,22 ; echo $?

When there is an error, you will see this.

VBoxManage: error: The machine '{{gateway_product_name_short}}8.1' is already locked for a session (or being unlocked)
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Machine, interface IMachine, callee nsISupports
Context: "LockMachine(a→session, LockType_Write)" at line 377 of file VBoxManageModifyVM.cpp

When it succeeded, you will see this.


Whonix-Gateway ™ AND Whonix-Workstation ™.

sudo apt-get update

sudo apt-get install openssh-server

On Whonix-Gateway ™.


sudo whonix_firewall

On Whonix-Gateway ™.


Yes (accept fingerprint).

Terminate ssh connection.


On the host. If you are using ssh on the host for other purposes, it might be better to switch to an extra user.

On the host. Try this if you are having problems. This might not be neccessary.


killall ssh

killall sshfs

On the host. Try this if you are having problems. This might not be neccessary. There seems to be a bug with existing ssh known_hosts files.


Or "rm" if you know what you are doing

trash-put ~/.ssh/known_hosts

trash-put ~/.ssh/known_hosts.old

#rm ~/.ssh/known_hosts

#rm ~/.ssh/known_hosts.old

On the host.

mkdir ~/mountworkstation


On the host.

ssh -f user@ -p 2200 -L 2222: :22 -N

sshfs -p 2222 user@ ~/mountworkstation


  1. Restart X may do the trick as well.

Follow: Twitter.png Facebook.png 1280px-Gab text logo.svg.png Rss.png Matrix logo.svg.png 1024px-Telegram 2019 Logo.svg.png Discourse logo.svg

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate whonix.png

Share: Twitter | Facebook

Want to make Whonix safer and more usable? We're looking for helping hands. Check out the Open Issues [archive] and development forum [archive].

https link onion link

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].

Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint.