Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Incorrect SSH server configuration #12

Closed
devnoname120 opened this issue Jun 17, 2019 · 0 comments · Fixed by #13
Closed

Incorrect SSH server configuration #12

devnoname120 opened this issue Jun 17, 2019 · 0 comments · Fixed by #13

Comments

@devnoname120
Copy link
Contributor

ListenAddress 127.0.0.1
Port 2222
UsePrivilegeSeparation no
PasswordAuthentication yes
 * Stopping OpenBSD Secure Shell server sshd                                                                     [ OK ]
 * Starting OpenBSD Secure Shell server sshd                                                                            /etc/ssh/sshd_config line 89: ports must be specified before ListenAddress.
                                                                                                                 [fail]
%sudo ALL=(ALL) NOPASSWD: /usr/sbin/service ssh --full-restart

SSH server parameters (/etc/ssh/sshd_config):
ListenAddress 127.0.0.1
Port 2222
UsePrivilegeSeparation no
PasswordAuthentication yes
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 a pull request may close this issue.

1 participant