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

Whonix-Gateway ™ AND Whonix-Workstation ™.

echo 'EXTERNAL_OPEN_PORTS+=" 22 "' | sudo tee -a "/etc/whonix_firewall.d/50_user.conf"

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.

text=Jobs in USA
Jobs in USA

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki

Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: 1024px-Telegram 2019 Logo.svg.png Discourse logo.png Matrix logo.svg.png

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

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Twitter-share-button.png Facebook-share-button.png Telegram-share.png

We are looking for video makers to help create demonstration, promotional and conceptual videos or tutorials.

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. Policy of Whonix Website and Whonix Chat and Policy On Nonfreedom Software applies.

Copyright (C) 2012 - 2020 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, Contact.