21 Apr
2023
21 Apr
'23
07:16
Patrick Shanahan wrote:
I change ssh port 22 to a high port on all my installs but have one box that respects the assignment for root but not for <user>. I change both ssh.config and sshd.config so that including the port assignment is not normally required (within local network).
errant machine respects the port assignment for rute but uses port 22 for <user>. What have I missed?
It sounds like you might have a separate config for <user>. ~/.ssh/config will override any system-wide config /etc/ssh/ssh_config. -- Per Jessen, Zürich (6.1°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes