Cannot access via ssh after reboot
Posted: Thu Jul 19, 2007 7:48 am
Hi everyone,
This is probably something really stupid I'm doing wrong, but I was wondering if anyone can help. I ran asl 2 in fix mode (asl -f), and then rebooted my box. After a few minutes, everything comes up fine, and the sites are accessible. I also get several emails and security alerts from OSSEC, which is great, and suggests everything's working fine.
The only problem is, there's no ssh access. nmap reveals:
21/tcp open ftp
25/tcp open smtp
53/tcp open domain
80/tcp open http
106/tcp open pop3pw
110/tcp open pop3
143/tcp open imap
443/tcp open https
465/tcp open smtps
993/tcp open imaps
995/tcp open pop3s
8443/tcp open https-alt
I *can* access Plesk, but just can't get shell access at all. The only thing that occurs to me is that, in the configuration steps of asl, I didn't specify any whitelist hosts for whom OSSEC rules would not apply. Any advice would be gratefully received!
I'm sure I'll be able to reboot into rescue mode and gain ssh access that way, and that'll be pretty straightforward, so if anybody has any hints or suggestions as to what config files I could change to get ssh up again, that would be really appreciated,
Thanks in advance!
Tom
This is probably something really stupid I'm doing wrong, but I was wondering if anyone can help. I ran asl 2 in fix mode (asl -f), and then rebooted my box. After a few minutes, everything comes up fine, and the sites are accessible. I also get several emails and security alerts from OSSEC, which is great, and suggests everything's working fine.
The only problem is, there's no ssh access. nmap reveals:
21/tcp open ftp
25/tcp open smtp
53/tcp open domain
80/tcp open http
106/tcp open pop3pw
110/tcp open pop3
143/tcp open imap
443/tcp open https
465/tcp open smtps
993/tcp open imaps
995/tcp open pop3s
8443/tcp open https-alt
I *can* access Plesk, but just can't get shell access at all. The only thing that occurs to me is that, in the configuration steps of asl, I didn't specify any whitelist hosts for whom OSSEC rules would not apply. Any advice would be gratefully received!
I'm sure I'll be able to reboot into rescue mode and gain ssh access that way, and that'll be pretty straightforward, so if anybody has any hints or suggestions as to what config files I could change to get ssh up again, that would be really appreciated,
Thanks in advance!
Tom