Author Topic: after changing port cannot login to ssh  (Read 1225 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
after changing port cannot login to ssh
« on: February 05, 2017, 07:34:42 AM »
hi

I am new in ssh. so first time I Chang my sshd port then its

 ssh ip:port
ssh: Could not resolve hostname ip.ip.ip.ip:port: Name or service not known

what i do next????

Offline
**
Re: after changing port cannot login to ssh
« Reply #1 on: February 20, 2017, 04:44:09 PM »
Open browser and use your admin panel, go to Services config > SSH Configuration
Remove the line you added (the port), save file and try to connect to your server again

Offline
*
Re: after changing port cannot login to ssh
« Reply #2 on: February 24, 2017, 09:39:50 AM »
When you change the ssh port you need to restart ssh service
It's funny that: centos-webpanel.com has cPanel and not CWP installed.

Offline
*****
Re: after changing port cannot login to ssh
« Reply #3 on: February 24, 2017, 12:28:50 PM »
if you've csf firewall enabled then you need to add the port to it.