Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


SSH port 22 connection refused on new install vps
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.

SSH port 22 connection refused on new install vps

huntercophuntercop Member
edited November 2016 in Help

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.

  • Thanked by 2Ole_Juul huntercop
  • Considering all his messages and threads so far, OP's avatar is perfect.

    Thanked by 2huntercop MikeA
  • I dont think iptables will block port 22 by default. Maybe some error during system installation, so a reinstall would possibly work.

  • @Yura said:
    Considering all his messages and threads so far, OP's avatar is perfect.

  • HarambeHarambe Member, Host Rep

    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).

  • @Harambe said:
    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.

Sign In or Register to comment.