Feature Request: Invalid sshd port fallback
Damien Miller
djm at mindrot.org
Fri Jul 31 09:13:14 AEST 2015
On Thu, 30 Jul 2015, Stop Spazzing wrote:
> I see your point and that makes valid sense;I even change default port.
>
> "It would be better to let you know the port is wrong and fail to start
> until you fixed the problem and selected a valid non-standard port."
>
> Is there any reason something like this isn't implemented already? Could it
> be implemented?
It is:
[djm at fuyu ssh]$ /usr/sbin/sshd -oPort=10000000
command-line line 0: Badly formatted port number.
Not sure what version you are using, but that check has been in place
for a long time.
More information about the openssh-unix-dev
mailing list