I took over as IT guy at my company and Im in charge of managing our webserver. An ex-employee (old IT guy) hacked our server and performed malicious deeds on it. When I found this out I cut the power to the server via our ISP and picked up the server today, now I have it in my house and I'm trying to perform a network backup of the data thats left.
The server used to run on a domain name and had a public IP. At my house I have a regular router with DHCP to assign IP's. I ran the "netconfig" tool and switched the computer to retrieve DHCP addresses, this worked fine and it picked up an address of 192.168.2.40 - just like I expected.
I had to change this entry in the /etc/ssh/sshd_config file, from:
Code:
ListenAddress public IP address
I changed it to this:
Code:
ListenAddress 127.0.0.1
because SSHD wouldn't start properly before I did that. So I restarted SSH and tried to log in from my windows machine through Putty, and I got a connection refused error. I restarted the computer and tried again - checked my IP, nmaped myself, all looked good so I tried again - connection refused.
No matter what I try I keep getting connection refused. I used to SSH into the server all the time when it had a domain name, so I dont know whats going on. I didnt set this server up myself, I assume it has iptables running and that might be causing my problems?
I ran these two commands:
Code:
$ service iptables stop
$ chkconfig iptables off
and they seemed to work, but my problem is still here. I also tried logging in via WinSCP3 by the way, same problem.