![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 2022-11-16 15:48, Patrick Shanahan wrote:
I have a converted to Tw laptop and have moved ssh to a high port which <root> honors but <user> does not, ie: ssh <user>@box1 ssh: connect to host box1 port 22: Connection refused
as root: ssh <user>@box1 success
I changed the firewall ports for ssh to the utilized high port I altered both ssh_config and sshd_config to designate the high port. restarted firewalld and sshd
what have I missed?
You have to tell the client to also use that port: ssh -p high_port_number <user>@box1 Or you can edit ~/.ssh/config at the client: Host box1 Port high_port_number It is also possible to "route" the high port to port 22 at the firewall of the client machine. This is an easy functionality on home routers supplied by the ISP or purchased, but you have not mentioned using internet. I think you have done all that, but just writing it out so that you can double check :-) I find ssh error messages confusing. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)