[CentOS] Moving sshd listen port

Wed Jul 9 15:50:50 UTC 2014
Mike McCarthy, W1NR <sysop at w1nr.net>

/usr/sbin/sshd -d seems to work properly and accept connections at the
new port. So does typing /usr/sbin/sshd, which daemonizes and runs
manually. It now appears that it will not start as a service if I change
the port, even after a reboot.


Mike


On 07/09/2014 11:32 AM, Vipul Agarwal wrote:
> On 09/07/14 15:35, Mike McCarthy, W1NR wrote:
>>     sshd.service: main process exited, code=exited, status=255/n/a
> Hi Mike
>
> Can you run sshd manually in debugging mode and paste the output please:
> $ /usr/sbin/sshd -d
>
> It's worth looking at the output of strace that may help here:
> $ strace /usr/sbin/sshd
>
> -V
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos