What do these entries in my SSH logs mean? [duplicate]

First two lines are successful logins.

Third line indicates that the connection made on the second line was disconnect (notice the PID in the square brackets, in this case 8233, are the same, indicating that the SSHD process that was spawned and accepted a public key has now disconnected... the same process generated the two lines in the log).

The PID is the method you can use to track a particular session. When a connection is made to SSHD a new process is spawned with a unique PID (unique in any one instance - that PID may be reused some time later, maybe several hours or days later as all PIDs are eventually recycled). That process stays with the connection as long as the connection lives. So if you grep for a particular PID you can get a history of what happened on that connection.


  • Yes, they look successful. sshd was presented with a public key which exists in ~root/.ssh/authorized_keys.
  • I've never seen this message from anything other than a successfully-logged-in connection.
  • Yes, it'd the PID.