sshd having to restart

in Linux+
Hi Guys. I'm a newbie to Linux first off. I have openSuSE 10.3 on a dell server. I am using FreeNX to remote console into the box. It works fine, except after I have a session up, and then close it...I have to log on the console of the linux box and run service sshd restart in order to be able to log into the box again. I can't use putty or FreeNX to log in. It's almost like it locks up service. I do not even get a login prompt...just "connection refused."
Any help would be awesome!!!!
Josh
Any help would be awesome!!!!
Josh
Josh, CCNP CWNA
Comments
I haven't used FreeNX but it sounds like when you disconnect it doesn't actually drop the session.
You may learn something!
For instance if you can't ssh to the linux box, manually connect, then do
ps -aux | grep ssh
(aux may be ef on suse)
If the service isn't running there is your answer. You will have to look at the messages,error and sshd log to find out why it is crashing.
However, if your ssh connection is not getting termainted when you close your ssh client, this shouldn't effect your ability to log back in. You should be able to spawn multiple ssh connections to and from the server.
service sshd status
Just an alternative to liven's method of checking.
This method works on other versions of linux as well.
On fedora, cent, red hat etc....
you can use
/etc/init.d/sshd (start|stop|status)
Thanks for pointing this out undomiel!!!