Cannot access via ssh after reboot
-
- Forum User
- Posts: 40
- Joined: Mon Mar 26, 2007 9:47 am
Cannot access via ssh after reboot
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
-
- Forum User
- Posts: 40
- Joined: Mon Mar 26, 2007 9:47 am
Hi Highland,
Ah, thanks for the idea. Unfortunately I did try it
--- it's an interesting one, actually - if I click the SSH terminal client, I get a blank window (inside the Plesk frame)... I guess something's going wrong there, though I can't see the logs to find out what
--- everthing else on Plesk seems to work fine, just ironically not the SSH terminal... Ah well!
Tom
Ah, thanks for the idea. Unfortunately I did try it


Tom
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
If the problem is that the SSH server is not accessible, then firing up Plesk's SSH client isn't going to help much.
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 40
- Joined: Mon Mar 26, 2007 9:47 am
Scott - I don't think that's it, because I tried logging in afresh this morning (without doing anything beforehand), and got connection refused on port 22, even without any login attempts. Port 22 looks like it's closed.
Breun - yes, I suppose so, although since it's accessing it from 127.0.0.1 (I guess) rather than an outside network, the Plesk ssh client could conceivably have worked...
I think I'll reboot into rescue mode and try and work out what is going on from there... very strange - it's just ssh that's affected...
Breun - yes, I suppose so, although since it's accessing it from 127.0.0.1 (I guess) rather than an outside network, the Plesk ssh client could conceivably have worked...
I think I'll reboot into rescue mode and try and work out what is going on from there... very strange - it's just ssh that's affected...
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
You can run commands on your server if you can setup cronjobs from Plesk. Might be a way to check/disable/start things.
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 40
- Joined: Mon Mar 26, 2007 9:47 am
-
- Forum User
- Posts: 40
- Joined: Mon Mar 26, 2007 9:47 am