libook Posted January 17 Share Posted January 17 I changed the SSH port to 2022 in WebUI, but the actual port is still 22. Also after `/etc/rc.d/rc.ssh restart`. root@LiNas:~# cat /boot/config/ident.cfg |grep SSH USE_SSH="yes" PORTSSH="2022" root@LiNas:~# cat /etc/ssh/sshd_config |grep Port Port 22 GatewayPorts no root@LiNas:~# lsof -Pi :22 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sshd 28306 root 3u IPv4 232676830 0t0 TCP linas.lan:22 (LISTEN) root@LiNas:~# lsof -Pi :2022 root@LiNas:~# It seems configure file in flash was changed, but sshd didn't use it. linas-diagnostics-20240117-1407.zip Quote Link to comment
Solution libook Posted January 17 Author Solution Share Posted January 17 I got it. The ssh Plugin hijacks SSH-related settings, invalidating the original SSH port settings on the WebUI. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.