Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

os: add instructions to disable socket-activated sshd #800

Merged
merged 1 commit into from
Apr 26, 2016

Conversation

kbrwn
Copy link
Contributor

@kbrwn kbrwn commented Apr 25, 2016

Adds an additional section to Customizing the SSH Daemon doc.

This provides a work-around for: coreos/bugs#966 which was recently brought up on the mailing list.

Unit is based off of this gist from phillips: https://gist.github.com/philips/7e9f7d5990c9e3db65be22943308771d

@crawford
Copy link
Contributor

Please add an Ignition config as well.

# systemctl stop sshd.socket; systemctl restart sshd.service
```

This process via cloud-config:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same configuration can be achieved and an actively listening sshd started by providing a cloud-config like:

@kbrwn kbrwn force-pushed the overide-socket-ssh branch 2 times, most recently from c3d0b26 to 6f211c5 Compare April 26, 2016 20:22
@kbrwn kbrwn force-pushed the overide-socket-ssh branch from 6f211c5 to e6b73c5 Compare April 26, 2016 20:24
@crawford
Copy link
Contributor

LGTM

@kbrwn kbrwn merged commit 158facf into coreos:master Apr 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants