Thursday, April 14, 2016

ESXi command to see others connected to an SSH session

Short but sweet - the command is who

login as: root
Using keyboard-interactive authentication.
Password:
The time and date of this login have been sent to the system logs.

VMware offers supported, powerful system administration tools.  Please
see www.vmware.com/go/sysadmintools for details.

The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
[root@arielitox:~] who
root            char/pty/t0     00:00   Apr 14 18:36:28  rmtpasanchezw8.home
root            char/pty/t1     00:00   Apr 14 18:36:48  rmtpasanchezw8.home

Apparently it doesn't really detect the hostname (my second session is from a VM in workstation, but it picked the physical machine name). Hope it helps :)

No comments:

Post a Comment