You are not logged in.
This morning, our phones were acting wierd, so I ssh'd into the box and rebooted it. Upon the reboot, I now get connection refused when i go to ssh. On the Local machine, i cant even ssh to myself.
I know sshd is running, i did a /sbin/chkconfig --list|grep sshd and it shows as running. I checked IPtables and the hosts.allow file, the ports are open, and the file is set to Allow all. the deny file is empty. Since I didnt set this server up (boss did) could we have got hacked? Since its set to allow anyone, and now I cant get in. I can still log in as root on the local machine, and if I do a service sshd stop, i get [FAILED] like I dont have permission, but it is indeed running. Any ideas would be awesome. Thanks, Justin.
Offline
chkconfig? This doesn't appear to be an Archlinux question. You will definitely get more responses asking in a location more related to the distro you're using.
Offline
heh, sorry, it is centos, BUT this forum is one of the most intelligent communities I know of
Offline
Has ssh bound to the correct IP and Port?
netstat -ln | grep 22
Change the 22 to whatever port ssh should be running on
You should see something like this (taken from my home server):
fukawi2 ~ $ netstat -ln | grep 22
tcp 0 0 192.168.1.5:22 0.0.0.0:* LISTEN
Last edited by fukawi2 (2008-04-29 00:22:57)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline