View previous topic :: View next topic |
Author |
Message |
TheButcher n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Scientist2.gif)
Joined: 22 Nov 2003 Posts: 63 Location: Vienna / Austria / Europe
|
Posted: Thu Feb 17, 2005 5:18 pm Post subject: Weird SSH/Login-Problem *sigh* |
|
|
Hi Folks,
My fresh Gentoo-Box locks me out sometimes I really don't know why.
When I boot the machine, it runs fine. But after some uptime (i couldn't find any regularity) sshd accepts no more connections. When i try to connect from ANYWHERE it just says: Code: | ssh_exchange_identification: Connection closed by remote host |
When i try to login via the serial console, it prompts for username and pw. But when i type in user and pw it just sits there for 60 seconds and puts me back to the prompt with Code: | Login timed out after 60 seconds |
I tried different kernel-configurations, but that doesn't seem to be the problem. Although i had more frequent lockups with grsecurity set to "high".
Some webpage said, that it could be due to incorrect PTY-setup. Any ideas?
Ah - i almost forgot my setup:
hardened-sources with grsec at "low"
USE="apache2 authdaemond hardened imap innodb java mysql pic sasl vhosts -..."
NO ~x86
PS: Yeah, i posted a similar thread about a week ago, but some things have changed... I don't get it ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Thu Feb 17, 2005 10:18 pm Post subject: |
|
|
Did you find anything in the logs? I would try grepping your logs. Note when it happens, then reboot the machine and look at the logs around that time.
You may want to wait a while after it blocks you, so that the log file gets written. _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TheButcher n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Scientist2.gif)
Joined: 22 Nov 2003 Posts: 63 Location: Vienna / Austria / Europe
|
Posted: Thu Feb 17, 2005 10:27 pm Post subject: |
|
|
Thanks for your reply. I tried that one when my Box locked me out today. I rebootet it app. 2 hours after the "ssh/login-lockout".
But guess what? The box stopped logging on Feb. 14th at 10.30 pm
I'm not sure, but maybe its due to the grsec-support compiled into the kernel. As I posted before, I'm now with grsec set to "low". Lets have a look ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|