Timeline for answer to Enable SSH in WSL system by matigo
Current License: CC BY-SA 4.0
Post Revisions
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 31, 2025 at 19:37 | comment | added | NotTheDr01ds♦ | @EdBishop Ironically, later WSL updates (after I posted my comment but before you posted yours) enabled Systemd on WSL, so then the output matched. | |
| Mar 17, 2025 at 19:38 | comment | added | Shahbaz Aamir |
Got this error Failed to start ssh.service: Unit ssh.service not found
|
|
| Jul 12, 2023 at 13:09 | comment | added | Ed Bishop | Late I know but this is exactly the output you get from WSL 2. | |
| May 22, 2021 at 15:04 | comment | added | NotTheDr01ds♦ |
While the command you cite is correct, the output is not what you will receive on WSL. On WSL, service ssh status uses the old init.d style scripts, so you'll just see * sshd is running or sshd is not running as the output of the command.
|
|
| May 22, 2021 at 14:20 | history | answered | matigo | CC BY-SA 4.0 |