- ensure
openssh-server
is running, modify /etc/ssh/sshd_config. ensurePasswordAuthentication yes
. - run
sudo dpkg-reconfigure openssh-server
to regenerate the ssh keys which aren't always there i guess sudo service ssh --full-restart
$remoteport = wsl.exe -u gord -d "Axiom" bash -c "ifconfig eth0 | grep 'inet '"
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';