Ubuntu guide: https://help.ubuntu.com/community/SSH/OpenSSH/Configuring
sudo apt-get install openssh-server
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.factory-defaults
Ubuntu guide: https://help.ubuntu.com/community/SSH/OpenSSH/Configuring
sudo apt-get install openssh-server
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.factory-defaults
You can mount network drives and use them everywhere in WSL Bash.
Following these github issues:
microsoft/WSL#2636 (comment)
microsoft/WSL#2930 (comment)
I noticed that a Lenovo tab 4 8 (tb-8504x) on the latest stock image as of today didn't have a working face unlock ("facelock"). When it was time to add a new face, it crashed with the following log:
08-16 17:39:34.379 6600 6600 D AndroidRuntime: Shutting down VM
08-16 17:39:34.380 6600 6600 E AndroidRuntime: FATAL EXCEPTION: main
08-16 17:39:34.380 6600 6600 E AndroidRuntime: Process: com.android.facelock, PID: 6600
08-16 17:39:34.380 6600 6600 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6google8protobuf5Arena15AllocateAlignedEPKSt9type_infom" referenced by "/system/lib64/libfacenet.so"...
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:989)
08-16 17:39:34.380 6600 6600 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1530)
A laptop running Android Studio and a linux server somewhere (office, basement, other side of the world) with connected Android devices. (No Android device connected on local laptop). Normally, you would have to unplug the device from the server, plug it into the laptop, continue development.
Now you can skip this.
(From now on, local is the laptop. The machine which doesn't have anything connected. remote is the machine which has the adb devices but doesn't have anything useful to do with them)
It can work both for Windows WSL and Linux local.