hello i have forgotten the ssh port which i have changed earlier, how can figure out what it is? thank you.
and if's there's any sort of security, ban your own IP from your own network. Unfortunately, it's the only way to do it.
He means that if your server or the place you are hosting your server has any kind of port-scan security/firewall it will ban your IP.
ah k thank you. i have tried many sites and softwares including: http://www.mxtoolbox.com/SuperTool.aspx but it hasn't worked any suggestion please?
If your provider does provide you KVMIP or web console access to your server, you will be able to log in from there. Alternative option is if you are using cPanel, try the below link. http://serverIP:2086/scripts2/doautofixer?autofix=safesshrestart This should reset your SSH port to 22. If the above option may not work for you, your only option is to contact the DC to access your server from the datacenter and perform the necessary changes for you.
hello i have tried using this: http://nmap.org/ thanks rectangleman for the suggestion, but i was not able to find it? unless my settings were wrong.......
I would find out if your server has a remote console or KVM over IP. You can then bypass SSH and find out the port by looking at the configuration files. I often see these ports used: 2222 1122 2211 But a port-scan, if you do not have a port-scan blocker should help you find the port.
can you please suggest port scanner? as nothing for which i have is working.. I'm sure it's set between 8000 and 9000..
Assuming it's a dedicated server or VPS you're talking about, ask your hosting provider for assistance. They can either tell you alternative ways to access your server or fix the problem for you if there's no other way.
yes it is, they recommended a using the rescue disc, but doesn't that mean me loosing all the settings and websites on the server?
They can log into your server in single user mode using the rescue disc and change the SSH port and your password, if needed. No settings/websites will be lost. You will only face a short downtime while they do it.