View Single Post

  #3 (permalink)  
Old 07-06-2003
Achim Gerber
 
Posts: n/a
Default Re: iptables block ssh connections with putty

> (interesting to have tail -f in a script, then go to background. Does
> this have the inteded effect of new entries in /var/log/messages being
> appended to your log file forever?)


.... this is only for debugging - it will not be in the final script


> iptables -F
> iptables -P INPUT ACCEPT
> iptables -P OUTPUT ACCEPT
> iptables -P FORWARD ACCEPT
>
> into your script.


I did try this - but it does not work.

I guess I need to be more precise on my problem.

1. I log on to my server with putty/ssh - OK
2. I start a script to reboot my server after 3 minutes
3. I start the log file in my first mail - OK

--> my ssh session still works - port 22 packages go through OK

BUT!!! I can not open a second putty/ssh login to my server

I think it has to do with the loaded modules or with the auth mechanism of ssh

Is there any experience out there on this?

Regards, Achim
Reply With Quote