SSH Connection Refused, Possibly Permission Issue
i'll describe it as best as i can, and hopefully someone here can come up with a fix.
first, how it happened. we are a rather large marketing firm, and we frequently push out software using Casper. we started to notice some Leopard machines locking themselves out of ssh after we pushed out some printer installation packages.
second, the main symptoms. ssh connection is refused. however, remote login is shown as ON in System Preference, as well as in the terminal (/sbin/service --list). "netstat -anf inet" does NOT show port 22 as a listening port.
naturally, i tried to restart remote login. when done in System Preference, status says "ssh is shutting down" or something to that effect and just hangs. when done in terminal, "systemsetup -setremotelogin on" returns "ssh is already on", "systemsetup -setremotelogin off" returns nothing and ssh is NOT turned off. "/sbin/service serviceName stop" and "/sbin/service serviceName start" also don't do a thing.
more information hopefully will find people who are looking into this thread:
1. the initial package push-out was performed on both Tiger and Leopard machines, and only Leopard machines were affected.
2. problem can be "temporarily" fixed by repairing permission and restarting, but it does come back. but because the problem doesn't come back right away (sometimes it comes back after days), we have not been able to determine what makes the problem come back. to me this suggest a permission issue that is triggered by some background process.
i'd appreciate any input. thanks.
Mac OS X (10.5.7)