Link to home
Start Free TrialLog in
Avatar of ping_it
ping_itFlag for Italy

asked on

Send message to all the consoles and show connected users

Hello,
I would like to know how many ssh sessions are connected to my Linux and if it is possible also the username used and the ip address.

I would like also to know what is the command that I can run by console, so that this message will be shown to all the other ssh remote consoles.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of thetmanvn
thetmanvn
Flag of Viet Nam image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Kerem ERSOY
Kerem ERSOY

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kerem ERSOY
Kerem ERSOY

BTW who will show all interactive logins including console and telnet and SSH.

Cheers,
K.
Avatar of ping_it

ASKER

thanks
You're welcome :)