Find and allow ssh clients
Is there any way to find out from this machine, this user is logged into my machine using any mechanism or command?
Also I can allow this users can put ssh to my system. Is it possible? |
Quote:
|
Quote:
|
Find and allow the ssh clients
I too find out using SSH_CLIENT and SSH_CONNECTIONS environment variable it could be done.
Is there any other way? |
I like the following command:
netstat -a | grep ESTABLISHED It's not for showing users or specifically ssh, but useful for exploring connections... |
Quote:
and have the user input that address. i'd use Code:
ssh -l username 76.25.x.x (whatever that address is) |
All times are GMT -5. The time now is 03:40 AM. |