OpenVZ Forum


Home » General » Support » SSH connection refused after install
SSH connection refused after install [message #51681] Thu, 02 October 2014 16:36 Go to next message
Yzord is currently offline  Yzord
Messages: 2
Registered: October 2014
Junior Member
From: *vpn.ipredator.se
I am new into this, but have searched Google for it and cannot find a real answer to my problem.

I have installed a minimal CentOs 6.5 on the server and installed OpenVZ kernel, edited some files and after that i could reboot according to the manual. So i did, but after that i cannot connect anymore to port 22.

$ ssh -v root@192.168.192.21
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: Connecting to 192.168.192.21 [192.168.192.21] port 22.
debug1: connect to address 192.168.192.21 port 22: Connection refused
ssh: connect to host 192.168.192.21 port 22: Connection refused

First of all, why is this? This happened for the second time, so I guess OpenVZ does this?
Second, how can i repair this? Or is there another port configured?

Hope somebody can help me with this?
Re: SSH connection refused after install [message #51686 is a reply to message #51681] Tue, 07 October 2014 16:54 Go to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
From: *static.zebra.lt
as I understand you can't connect to HN?

check is there exists some iptables rules regarding -m state netfilfilter module. about this there was recent discussions in forum you can look.
Previous Topic: Failed to start custom template
Next Topic: Boot sequence
Goto Forum:
  


Current Time: Tue Aug 21 02:19:28 GMT 2018