Results 1 to 3 of 3

Thread: Kali running in WSL issues with Kex and ssh

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2023-Jan
    Posts
    2

    Exclamation Kali running in WSL issues with Kex and ssh

    I am trying to get a handle on some issues that I have been having with Kali running in WSL. For the sake of being clear I went througha fresh install of kali and the problems persisted.

    To replicate i followed all the steps provided in https://www.kali.org/docs/wsl/win-kex/

    When running kex it fails in window mode:

    kex win.jpg

    ESM and SL mode work

    But on top of that SSH fails to work for IPv4:

    On a prior build i enabled systemd and was able to see this error:

    ssh.jpg

    I modified the sshd_config line "addressfamily inet" to force ssh over IPv4 but that resulted in the service completly failing.

    generally speaking I am wondering if anyone else is running Kali in WSL and have you seen these problems and have a possible solution.

  2. #2
    Join Date
    2022-Dec
    Posts
    4
    Whether you are new or not, it is preferable to run the most recent Kali on a virtual machine.

  3. #3
    Join Date
    2023-Jan
    Posts
    2
    Running Kali as a VM might be preferable to some, but running a WSL instance best fits my uses.

Similar Threads

  1. Im trying to install wine on Kali but running into issues
    By jmack32488 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2022-11-16, 19:56
  2. Issues running Xrdp on Raspberry Pi
    By mjdx88 in forum ARM Archive
    Replies: 3
    Last Post: 2016-09-06, 02:11

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •