sshd seems to perform utmp/wtmp logging only if the remote client requests an interactive shell, and not if a command is to be executed. However, such a command may also establish an interactive connection, such as a remote X session, and it would be desirable then to be able to perform utmp/wtmp logging in this case. There should be a way to accomplish this.
sshd should just care about it's own ptys. if a fwded X application uses pty's then it should update wtmp itself.
Mass change of RESOLVED bugs to CLOSED