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

Missing privilege separation directory: /run/sshd #3621

Closed
ddatsh opened this issue Oct 19, 2018 · 1 comment
Closed

Missing privilege separation directory: /run/sshd #3621

ddatsh opened this issue Oct 19, 2018 · 1 comment

Comments

@ddatsh
Copy link

ddatsh commented Oct 19, 2018

/etc/ssh/sshd_config

UsePrivilegeSeparation no

bash.exe -c 'sudo /usr/sbin/sshd -D'
[sudo] password for xxx:
/etc/ssh/sshd_config line 37: Deprecated option UsePrivilegeSeparation
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
Missing privilege separation directory: /run/sshd
@therealkenc
Copy link
Collaborator

Could not load host key: /etc/ssh/ssh_host_rsa_key

#3303 (message) and friends.

Missing privilege separation directory: /run/sshd

Same as ansible-container#141. Goes spirituality to #2530 and #994 (depending on your disposition).

You can comment out the UsePrevilegeSeaparation line. It is depreciated as mentioned in the error.

# ssh-keygen -A
# mkdir -p /run/sshd

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