Actions

SSHFS into Whonix-Workstation

From Whonix



Sshfs.jpg

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
Done.

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,127.0.0.1,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
1

When it succeeded, you will see this.

0

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 ™.

ssh.anondist-orig 10.152.152.11

Yes (accept fingerprint).

Terminate ssh connection.

exit

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.

THINK FIRST!

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.

THINK FIRST!

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

Run[edit]

On the host.

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

sshfs -p 2222 user@127.0.0.1:/ ~/mountworkstation

Footnotes[edit]

  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: Twitter.png Facebook.png Rss.png Matrix logo.svg.png 1024px-Telegram 2019 Logo.svg.png Discourse logo.png Reddit.jpg 200px-Mastodon Logotype (Simple).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

Share: Twitter | Facebook

Did you know that anyone can edit the Whonix wiki [archive] to improve it?

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.