8000 Document how to change SSH port (and other settings) · Issue #649 · coreos/fedora-coreos-docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Document how to change SSH port (and other settings) #649

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

Open
8000
jbtrystram opened this issue Jul 8, 2024 · 2 comments
Open

Document how to change SSH port (and other settings) #649

jbtrystram opened this issue Jul 8, 2024 · 2 comments

Comments

@jbtrystram
Copy link
Member

I tried to do this :

variant: fcos
version: 1.5.0
systemd:
  units:
    - name: sshd.socket
      dropins:
        - name: custom-port.conf
          contents: |
              [Socket]
              ListenStream=2222

But this has no effect.

@jlebon
Copy link
Member
jlebon commented Jul 8, 2024

You probably also need to set Port in an /etc/ssh/sshd_config.d/ dropin.

@travier
Copy link
Member
travier commented Jul 8, 2024

You likely need to setup the SELinux config for the new port to let sshd listen on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0