* Andrei Borzenkov <arvidjaar@gmail.com> [04-21-23 07:27]:
On Fri, Apr 21, 2023 at 2:16 PM Patrick Shanahan <paka@opensuse.org> wrote:
* Andrei Borzenkov <arvidjaar@gmail.com> [04-21-23 02:57]:
On Fri, Apr 21, 2023 at 5:08 AM Patrick Shanahan <paka@opensuseorg> 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
So provide full output of "ssh -vvv ..." in both cases. Are those two commands run from the same user session on the same host?
yes, and additional user sessions with same result
ssh -XCp<high-port> <user>@<my.server> also succeeds
This would be helpful for comparison.
other boxes with same ssh config(s) work w/o specifying ssh port
ssh involves two sides - client and server. It is absolutely unclear what "other boxes" refers to.
other tumbleweed boxes with same config. problem is permissions, no read perms for <user> for ssh[d]_config. tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc