Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot SSH into Centos8 wsl2 using PuTTY #6961

Closed
1 of 2 tasks
iansvnty opened this issue May 20, 2021 · 2 comments
Closed
1 of 2 tasks

Cannot SSH into Centos8 wsl2 using PuTTY #6961

iansvnty opened this issue May 20, 2021 · 2 comments

Comments

@iansvnty
Copy link

iansvnty commented May 20, 2021

Windows Build Number

Version 10.0.19042.985

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Centos8

Other Software

PuTTY

Repro Steps

I install ssh client and I install opensshs-server then edit the /etc/ssh/sshd_config as required but I hit a wall because everyone uses service ssh status or systemctl ssh stauts but neither work for me (they both say command not found). I am aware systemctl isn't supported in wsl2 but I would like an alternative that actually works unlike the service command

Expected Behavior

I'm expecting to be able to SSH into Centos8 using PuTTY. Or at least be able to shutdown, resart, and start services like openssh-server using some command?

Actual Behavior

service command not found and systemctl command not found. I am also unable to successfully SSH into centos8 because I cant finish the steps to getting SSH working I presume

Diagnostic Logs

No response

@therealkenc
Copy link
Collaborator

/dupe #1579

@ghost
Copy link

ghost commented May 21, 2021

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost closed this as completed May 21, 2021
@ghost ghost added the duplicate label May 21, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants