Do not try to call kevent if not on ssh

Reported by:	cognet