I deleted the OP's last message from this thread, and then soon afterward came up with something I should have said. So, there's no quoted context here. Sorry.
The OP is basically claiming that "telnet from Osa" and "ssh from another machine" both *work*, but give different warning messages, and now they want to know why the warnings are different. (Because they have too much free time or something.) My first guess is there's a difference between the PAM configurations for sshd and telnetd. One might try comparing /etc/pam.d/sshd to whatever the analogous file is for telnetd. Or, it could be something that's hard-wired into sshd itself, perhaps configured in the /etc/ssh/sshd_config file. The interactions between various login services and the XDG Universe (dbus and so on) is still somewhat opaque to me, but if the OP really wants to know this stuff, that's the direction they need to look.