Where are ssh login attempts logged to on jailbroken iPhone with OpenSSH? I know in Ubuntu they are in /var/log/auth.log but I can't find where they are logged on the iPhone. Ive made sure logging is enabled and have looked in /var/log and /var/logs as well as pretty much everywhere. Still cant find where the attempts are being logged.
I just found the answer to this

you have to manually edit /Library/LaunchDaemons/com.openssh.sshd.plist

change this part:

&lt;key&gt;ProgramArguments&lt;/key&gt;
&lt;array&gt;
    &lt;string&gt;/usr/sbin/sshd&lt;/string&gt;
    &lt;string&gt;-i&lt;/string&gt;
&lt;/array&gt;


to this:

&lt;key&gt;ProgramArguments&lt;/key&gt;
&lt;array&gt;
    &lt;string&gt;/usr/sbin/sshd&lt;/string&gt;
    &lt;string&gt;-E /var/log/auth.log -i&lt;/string&gt;
&lt;/array&gt;


then reboot or restart sshd