SSH Daemon not allowing login

jbrayton

Registered
I'm running the SSH server in Mac OS 10.1. At times, the server starts refusing all logins (as if the passwords were being entered wrong), until I disable and re-enable "Allow remote login". Has anyone else seen this? Any idea how to fix it?

Thanks!

John
 
When an attempted login fails, does sshd log anything to /var/log/system.log? I haven't seen this happen myself, but I usually have outgoing ssh, and only occasional incoming.
 
Just out of curiousity, what IP address should SSH be listening on?

My logs show:

Jan 23 23:56:01 localhost sshd[5027]: Received signal 15; terminating.
Jan 23 23:56:18 localhost sshd[5318]: Server listening on 0.0.0.0 port 22.

Cheers.
 
0.0.0.0 is simply a way of saying all IP's. This way, it listens on 127.0.0.1, your normal IP, and any other. If it binds to a specific IP, then it binds to that IP only, and wouldn't appear on the others.

For security reasons, some daemons bind only to 127.0.0.1 so they can provide local services, but aren't available to the outside.
 
Back
Top