I was following this tutorial tutorial where i added this line
Listen 443
to sshd_config
without changing anything else,
now i can no longer connect to the default 22 port
Asked
Active
Viewed 26 times
1 Answers
1
Adding Listen 443
into sshd_config
and restarting sshd
service makes the service fail, because there is no such configuration option recognized by OpenSSH. For more information about configuration options, refer to the manual page for sshd_config
.
To be constructive, the correct option should be Port 443
instead.

Jakuje
- 24,773
- 12
- 69
- 75
-
`Listen 443` looks like it has just been copied from an Apache or NCSA httpd configuration without any checking. – Toby Speight Oct 20 '16 at 15:39