New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
SSH port 22 connection refused on new install vps
I reinstalled centos 7 on my vps and I get an error saying that the connection is being refused.. please advise.
sumsheetcumpootah$ ssh root@getyourowndamnip
ssh: connect to host getyourowndamnip port 22: Connection refused
sumsheetcumpootah$ ssh root@getyourowndamnip
ssh: connect to host getyourowndamnip port 22: Connection refused
sumsheetcumpootah$ ssh root@getyourowndamnip
ssh: connect to host getyourowndamnip port 22: Connection refused
sumsheetcumpootah$ ssh root@getyourowndamnip
ssh: connect to host getyourowndamnip port 22: Connection refused
sumsheetcumpootah$ ssh root@getyourowndamnip
ssh: connect to host getyourowndamnip port 22: Connection refused
sumsheetcumpootah$ ssh root@getyourowndamnip
ssh: connect to host getyourowndamnip port 22: Connection refused
Comments
Use your provider's VNC console to check iptables?
On the other hand, getyourowndamnsysadmin.Considering all his messages and threads so far, OP's avatar is perfect.
I dont think iptables will block port 22 by default. Maybe some error during system installation, so a reinstall would possibly work.
Have you checked if the VPS was online? Have you tried using the console that every VPS should have?
My guess would be a bad template that has root login disabled - and no other way to create a new user during setup, which I think is standard in CentOS 7? (maybe? it is in Debian 8 & Ubuntu 16, I know that).
I don't believe OP can even connect to the SSH service, unless template has fail2ban preloaded and he got himself banned.