Control Web Panel
WebPanel => CentOS Configuration => Topic started by: infaxhe on October 10, 2021, 06:17:15 AM
-
Hello,
I need some help, if you are so kind. For security reasons I changed the port 22 to another. The problem now is that I can`t connect anymore to that port (obvious; it`s blocked by <me?> via) the Firewall). What should I do to connect to the new port?
Error: ssh: connect to host xxx.xx.xxx.xxx port 22: Connection refused
Thank you!
-
In terminal: ssh root@host.tld:Yournewportnumber
In putty you just change you port number
-
Thanks for the reply. Almost that was the answer. :D
I was using the command wrong. I had to use this: ssh username@xxx.xx.xxx.xxx -pxxxx