Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Dustie
Posts: 9
Joined: 2016-08-26 21:20

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

#1 Post by Dustie »

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? :|

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

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

#2 Post by debiman »

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.

Post Reply