-
Hi, so I was looking for a way to configure windows terminal to have a profile that automatically logins to a remote server using mosh.
-
I ended up here, but it wasn't a reliable method for me.
-
Below is how I managed to do it.
-
First make sure the requirements are present,
WSL
,Windows Terminal
andan installed distribution of your choice
( preferably Ubuntu). -
Next proceed; installing mosh and ssh in the wsl distribution of your choice.
-
Next create an SSH Key that is not password protected and then add it to your remote server.
-
Also do remember to install
mosh
in the remote server. -
Next within your wsl distribution, create the
~/.ssh/config
file and then add the following;
A way to do mobile application security testing on windows with ubuntu on WSL2, avoids having to use virtualbox or vmware. I would like to note that there are several tools for mobile application testing, the ones I am installing here are the ones that get the job done for me.
- Point to Note: I haven't yet figured out what tool I will use for network analysis, but I am going to provide a different gist on that once I find a solution to it.
- I would also love to point out that I do have a linux pc so this setup is for my windows pc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Credits someone on StackOverflow | |
# Allows you to fix the new kernel issue to make VMware work correctly. | |
# Get the current VMware version | |
VMWARE_VERSION="workstation-$(vmware -v|grep -oE "[[:digit:]]+.[[:digit:]]+.[[:digit:]]+"| head -n1)" # this is detect the version you have VMware Workstation 16.2.1 build-18811642 | |
echo -e "\nCurrent VMWARE Version: $VMWARE_VERSION\n" | |
TMP_FOLDER="/tmp/patch-vmware" | |
rm -fdr $TMP_FOLDER |