Not able to open Remote Port Forwarding



Need help in using Remote Atom.

Remove OS: CentOS Linux release 7.5.1804 (Core)
Local Machine: Mac

I am trying to open to Remote Port using following command:

ssh -R 52698:localhost:52698 -p 2232 <user_name>@

It is giving me following error: “Warning: remote port forwarding failed for listen port 52698”.

I have checked post 52698 is not already used. In fact, I have tried different ports as well but I am still getting the same error message.

I have stated “GatewayPorts yes” in the ssh configuration file and restated sshd as well. The problem is still there.