On 2023-04-21 13:15, Patrick Shanahan wrote:
* Andrei Borzenkov <arvidjaar@gmail.com> [04-21-23 02:57]:
On Fri, Apr 21, 2023 at 5:08 AM Patrick Shanahan <paka@opensuse.org> 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?
You could start with explaining what "machine uses port 22 for <user>" means. You probably did something that you describe in this way but you forgot to tell what you did.
attempting to ssh to my server from remote using ssh -XC <user>@<my.server> fails and (-vvv) show no access to port 22
ssh -XC <root>@<my.server> succeeds using high port
ssh -XCp<high-port> <user>@<my.server> also succeeds
other boxes with same ssh config(s) work w/o specifying ssh port
Did you check the router? -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)