SSH user does not show up in w/who/users/last. Bug?

If none of the more specific forums is the right place to ask

SSH user does not show up in w/who/users/last. Bug?

Postby Dustie » 2018-03-24 22:07

Hello experts.

I have either found a fault in my Linux knowledge (likely) or a bug (unlikely) and I didn't get any wiser using Google, so here goes:

I'm coding a piece of software (something like Messenger, Hangouts, etc.) that connects to a central server via SSH (ssh.net lib) and for some reason the connection does not show up on the server in the Linux tools I know of. I know I'm logged on since I can read files, run commands and $USER and whoami shows the username. Running "w", "who" or "users" does not show the SSH user. It is not in active logins in "last" either and neither does it show up under previous logins there. It does show up in netstat. If I use Putty all tools show me right away as usual.

What am I missing? A hidden SSH user can't be right? :|
Dustie
 
Posts: 9
Joined: 2016-08-26 21:20

Re: SSH user does not show up in w/who/users/last. Bug?

Postby debiman » 2018-03-25 09:49

Dustie wrote:(ssh.net lib)

it must have something to do with this, because if i normally issue
Code: Select all
ssh server
from a terminal, it whos up in the local utilities' outputs.
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18


Return to General Questions

Who is online

Users browsing this forum: TonyT and 8 guests

fashionable