I must confess, I hardly ever log out properly, I just close the PuTTY window; then there's the times when NAT on my end causes my sessions to hang while I'm idle, so I just have to reconnect. I could have three dead sessions still logged in to SSH at any time and still I'll get in fine, so I highly doubt there's any kind of restriction there.
Go into Lish and check netstat to see that ssh is listening and running, and then try logging into ssh via localhost from Lish, just to see if that works.
Code:
netstat -tap | grep ssh
Also, you never really specified what "refusing access" means...can you at least connect? Is it rejecting your password? If you can connect and just can't login, it might be worth taking a look at
/var/log/auth.log and see if there's anything in there from when you try and login.
You could do something like:
Code:
tail /var/log/auth.log
If you can't even connect, ssh might have hung for some reason, or you might have a firewall issue.
If ssh has hung you can probably get away with just restarting it via:
Code:
/etc/init.d/ssh restart
Though I've personally never had to do anything like that before, so I don't know what would be causing it to happen.